This makes it possible to pass cache and getFromRooms variable in fetchOwnProfile. It also removes the never working and duplicated check from rooms. The Profiles can be duplicated in the Set because they are equal but not the same objects. In the get profile method, it now checks the cache first before the rooms as the cache might have the more accurate result. This makes displaying an avatar change much easier as it makes it possible to just disable cache then. |
||
|---|---|---|
| .. | ||
| encryption | ||
| msc_extensions | ||
| src | ||
| encryption.dart | ||
| matrix.dart | ||