fetchOwnProfile method
Future<Profile>
fetchOwnProfile({
- @Deprecated('No longer supported') bool getFromRooms = true,
- @Deprecated('No longer supported') bool cache = true,
Returns the user's own displayname and avatar url. In Matrix it is possible that
one user can have different displaynames and avatar urls in different rooms.
This returns the profile from the first room by default, override getFromRooms
to false to fetch from homeserver.
Implementation
Future<Profile> fetchOwnProfile({
@Deprecated('No longer supported') bool getFromRooms = true,
@Deprecated('No longer supported') bool cache = true,
}) => getProfileFromUserId(userID!);