aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--matrix/matrix.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/matrix/matrix.go b/matrix/matrix.go
index e7fbcc3..852a410 100644
--- a/matrix/matrix.go
+++ b/matrix/matrix.go
@@ -579,12 +579,16 @@ func (c *Container) processOwnMembershipChange(evt *mautrix.Event) {
switch membership {
case "join":
room.HasLeft = false
+ if c.config.AuthCache.InitialSyncDone {
+ c.ui.MainView().UpdateTags(room)
+ }
fallthrough
case "invite":
if c.config.AuthCache.InitialSyncDone {
c.ui.MainView().AddRoom(room)
}
case "leave":
+ case "ban":
if c.config.AuthCache.InitialSyncDone {
c.ui.MainView().RemoveRoom(room)
}