Merge branch 'ChristianPauly-master-patch-49592' into 'master'
Fix getRoomFromTableRow See merge request famedly/famedlysdk!7
This commit is contained in:
commit
a805057239
|
@ -341,9 +341,9 @@ class Room {
|
||||||
if (name == "")
|
if (name == "")
|
||||||
name = await matrix.store?.getChatNameFromMemberNames(row["id"]) ?? "";
|
name = await matrix.store?.getChatNameFromMemberNames(row["id"]) ?? "";
|
||||||
|
|
||||||
if (row["avatar_url"] == "")
|
String avatarUrl = row["avatar_url"];
|
||||||
row["avatar_url"] =
|
if (avatarUrl == "")
|
||||||
await matrix.store?.getAvatarFromSingleChat(row["id"]) ?? "";
|
avatarUrl = await matrix.store?.getAvatarFromSingleChat(row["id"]) ?? "";
|
||||||
|
|
||||||
return Room(
|
return Room(
|
||||||
id: row["id"],
|
id: row["id"],
|
||||||
|
|
Loading…
Reference in a new issue