Add functionality for loading global user profile where needed

This is so viewing profiles from the invite dialog will work as expected.
This commit is contained in:
Loren Burkholder 2021-07-21 20:38:18 -04:00
parent 0971fd0fcc
commit bbecadf1a8
3 changed files with 8 additions and 1 deletions

View file

@ -379,6 +379,12 @@ TimelineViewManager::openInviteUsers(QString roomId)
emit openInviteUsersDialog(model);
}
void TimelineViewManager::openGlobalUserProfile(QString userId)
{
UserProfile *profile = new UserProfile{QString{}, userId, this};
emit openProfile(profile);
}
void
TimelineViewManager::setVideoCallItem()
{