💄 Show name instead of alias in notification

This commit is contained in:
LittleSheep 2025-02-23 21:05:27 +08:00
parent c1d0b2f650
commit 7566720420

View File

@ -37,7 +37,7 @@ func (v Channel) DisplayText() string {
return "DM"
}
if v.Realm != nil {
return fmt.Sprintf("%s, %s", v.Name, v.Realm.Alias)
return fmt.Sprintf("%s, %s", v.Name, v.Realm.Name)
}
return fmt.Sprintf("%s", v.Name)
}