Fix /reject command output

This commit is contained in:
Tulir Asokan 2020-06-08 00:19:50 +03:00
parent 37fd0be64a
commit 0688ed1dba

View File

@ -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) {