refactor: Migrate to new matrix sdk API

This commit is contained in:
Krille Fear 2021-08-18 15:24:59 +00:00
commit 47e68d813d
32 changed files with 103 additions and 93 deletions

View file

@ -107,7 +107,7 @@ class HtmlMessage extends StatelessWidget {
final profile = await room.client.getProfileFromUserId(identifier);
if (profile != null) {
return {
'displayname': profile.displayname,
'displayname': profile.displayName,
'avatar_url': profile.avatarUrl.toString(),
};
}