aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-19 22:19:59 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-19 22:19:59 +0200
commit56b9f2278178c852e0e3d7bb499cf0e157151e3a (patch)
treeb3cf6998e9adba1b9046cb49c4401004f6ba3121
parentd724e0c8cffcba0f84e52ef14989f40c4180f9a2 (diff)
Add custom name for m.server_notice tag
-rw-r--r--ui/room-list.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/room-list.go b/ui/room-list.go
index 53337b6..b6fc612 100644
--- a/ui/room-list.go
+++ b/ui/room-list.go
@@ -509,6 +509,8 @@ func (list *RoomList) GetTagDisplayName(tag string) string {
return "Favorites"
case tag == "m.lowpriority":
return "Low Priority"
+ case tag == "m.server_notice":
+ return "System Alerts"
case tag == "net.maunium.gomuks.fake.direct":
return "People"
case strings.HasPrefix(tag, "u."):