aboutsummaryrefslogtreecommitdiff
path: root/ui/commands.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-22 01:30:43 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-22 01:30:43 +0200
commit806f0f1bf0fedcbeb526b11ab4f1d0d4c89e23e1 (patch)
treef0cd940fef6cba4098d4589c514eef136f4c9326 /ui/commands.go
parent455d9fc4c5726e4af9c40b36ee4f4ea18f65a8e9 (diff)
Make invites mostly work
Diffstat (limited to 'ui/commands.go')
-rw-r--r--ui/commands.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/commands.go b/ui/commands.go
index 9b1ac25..0adbb61 100644
--- a/ui/commands.go
+++ b/ui/commands.go
@@ -119,6 +119,8 @@ func cmdAccept(cmd *Command) {
} else {
cmd.Reply("Successfully accepted invite")
}
+ cmd.MainView.UpdateTags(room)
+ go cmd.MainView.LoadHistory(room.ID)
}
func cmdReject(cmd *Command) {