Fix room aliases

Aliases must return pure name
This commit is contained in:
nxshock 2019-08-08 20:21:22 +05:00
parent eed68b37fe
commit e51ff105e7

View File

@ -55,7 +55,7 @@ func (room *Room) Aliases() []string {
var aliases []string
for alias, serverRoom := range room.server.roomAliases {
if serverRoom.ID() == room.ID() {
aliases = append(aliases, "#"+alias+":"+room.server.hostname)
aliases = append(aliases, alias)
}
}