forked from cwtch.im/cwtch
in which erinn learns to hate the linter
This commit is contained in:
parent
b06c54bb36
commit
2df386f6f6
|
@ -531,11 +531,11 @@ func main() {
|
||||||
}
|
}
|
||||||
case "/import-group":
|
case "/import-group":
|
||||||
if len(commands) == 2 {
|
if len(commands) == 2 {
|
||||||
groupId, err := peer.ImportGroup(commands[1])
|
groupID, err := peer.ImportGroup(commands[1])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Error importing group: %v\n", err)
|
fmt.Printf("Error importing group: %v\n", err)
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("Imported group: %s\n", groupId)
|
fmt.Printf("Imported group: %s\n", groupID)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("%v", commands)
|
fmt.Printf("%v", commands)
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"cwtch.im/cwtch/storage"
|
"cwtch.im/cwtch/storage"
|
||||||
"git.openprivacy.ca/openprivacy/libricochet-go/application"
|
"git.openprivacy.ca/openprivacy/libricochet-go/application"
|
||||||
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
|
"git.openprivacy.ca/openprivacy/libricochet-go/channels"
|
||||||
"log"
|
|
||||||
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
|
"git.openprivacy.ca/openprivacy/libricochet-go/utils"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Server encapsulates a complete, compliant Cwtch server.
|
// Server encapsulates a complete, compliant Cwtch server.
|
||||||
|
|
Loading…
Reference in New Issue