Fix /reject command output
This commit is contained in:
parent
37fd0be64a
commit
0688ed1dba
@ -142,8 +142,9 @@ func cmdReject(cmd *Command) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
cmd.Reply("Failed to reject invite: %v", err)
|
cmd.Reply("Failed to reject invite: %v", err)
|
||||||
} else {
|
} else {
|
||||||
cmd.Reply("Successfully accepted invite")
|
cmd.Reply("Successfully rejected invite")
|
||||||
}
|
}
|
||||||
|
cmd.MainView.RemoveRoom(room)
|
||||||
}
|
}
|
||||||
|
|
||||||
func cmdID(cmd *Command) {
|
func cmdID(cmd *Command) {
|
||||||
|
Loading…
Reference in New Issue
Block a user