Merge pull request #1899 from famedly/krille/fix-app-freeze-because-of-loop
fix: App freezes because of recursive loop with getLocalizedDisplayname() call
This commit is contained in:
commit
c071b8c06e
|
|
@ -1641,9 +1641,7 @@ class Room {
|
||||||
required bool ignoreErrors,
|
required bool ignoreErrors,
|
||||||
}) async {
|
}) async {
|
||||||
try {
|
try {
|
||||||
Logs().v(
|
Logs().v('Request missing user $mxID in room $id from the server...');
|
||||||
'Request missing user $mxID in room ${getLocalizedDisplayname()} from the server...',
|
|
||||||
);
|
|
||||||
final resp = await client.getRoomStateWithKey(
|
final resp = await client.getRoomStateWithKey(
|
||||||
id,
|
id,
|
||||||
EventTypes.RoomMember,
|
EventTypes.RoomMember,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue