Add custom name for m.server_notice tag
This commit is contained in:
parent
d724e0c8cf
commit
56b9f22781
@ -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."):
|
||||||
|
Loading…
Reference in New Issue
Block a user