Add custom name for m.server_notice tag

This commit is contained in:
Tulir Asokan 2020-02-19 22:19:59 +02:00
parent d724e0c8cf
commit 56b9f22781

View File

@ -509,6 +509,8 @@ func (list *RoomList) GetTagDisplayName(tag string) string {
return "Favorites" return "Favorites"
case tag == "m.lowpriority": case tag == "m.lowpriority":
return "Low Priority" return "Low Priority"
case tag == "m.server_notice":
return "System Alerts"
case tag == "net.maunium.gomuks.fake.direct": case tag == "net.maunium.gomuks.fake.direct":
return "People" return "People"
case strings.HasPrefix(tag, "u."): case strings.HasPrefix(tag, "u."):