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:
Krille-chan 2024-08-09 10:55:27 +02:00 committed by GitHub
commit c071b8c06e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -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,