diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-06-08 00:19:50 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-06-08 00:19:50 +0300 |
commit | 0688ed1dba224f7e928044a8aa49b742a77b8574 (patch) | |
tree | fdd56b46e7903254e8ca9d6fdd8624fd28937128 | |
parent | 37fd0be64ad53f531ed71f3fa71379eb818a9162 (diff) |
Fix /reject command output
-rw-r--r-- | ui/commands.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/commands.go b/ui/commands.go index fc86e85..71cee21 100644 --- a/ui/commands.go +++ b/ui/commands.go @@ -142,8 +142,9 @@ func cmdReject(cmd *Command) { if err != nil { cmd.Reply("Failed to reject invite: %v", err) } else { - cmd.Reply("Successfully accepted invite") + cmd.Reply("Successfully rejected invite") } + cmd.MainView.RemoveRoom(room) } func cmdID(cmd *Command) { |