Port away from deprecation

This commit is contained in:
Tobias Fella
2022-10-11 21:03:03 +02:00
parent 878369901c
commit d97448eb07

View File

@@ -192,7 +192,7 @@ void UserListModel::avatarChanged(Quotient::User *user, const Quotient::Room *co
int UserListModel::findUserPos(Quotient::User *user) const
{
return findUserPos(m_currentRoom->roomMembername(user));
return findUserPos(m_currentRoom->safeMemberName(user->id()));
}
int UserListModel::findUserPos(const QString &username) const