mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
Add custom name for m.server_notice tag
This commit is contained in:
parent
d724e0c8cf
commit
56b9f22781
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue