From 0688ed1dba224f7e928044a8aa49b742a77b8574 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 8 Jun 2020 00:19:50 +0300 Subject: Fix /reject command output --- ui/commands.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui') 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) { -- cgit v1.2.3