aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/commands.go3
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) {