Merge branch 'room-fix-displayname-heroes' into 'master'
[Room] Fix displayname calc with heros See merge request famedly/famedlysdk!134
This commit is contained in:
commit
3321c9b16d
|
@ -221,7 +221,7 @@ class Room {
|
||||||
String displayname = "";
|
String displayname = "";
|
||||||
for (int i = 0; i < heroes.length; i++) {
|
for (int i = 0; i < heroes.length; i++) {
|
||||||
if (heroes[i].isEmpty) continue;
|
if (heroes[i].isEmpty) continue;
|
||||||
displayname += User(heroes[i]).calcDisplayname() + ", ";
|
displayname += getUserByMXIDSync(heroes[i]).calcDisplayname() + ", ";
|
||||||
}
|
}
|
||||||
return displayname.substring(0, displayname.length - 2);
|
return displayname.substring(0, displayname.length - 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue