fix: Room.requestUser sometimes throws an error
This commit is contained in:
parent
99d536b14f
commit
aa9940fdbc
|
@ -1117,7 +1117,7 @@ class Room {
|
|||
final profile = await client.requestProfile(mxID);
|
||||
resp = {
|
||||
'displayname': profile.displayname,
|
||||
'avatar_url': profile.avatarUrl,
|
||||
'avatar_url': profile.avatarUrl.toString(),
|
||||
};
|
||||
} catch (exception) {
|
||||
_requestingMatrixIds.remove(mxID);
|
||||
|
|
Loading…
Reference in a new issue