Fix userprofile on roomlist

This commit is contained in:
Nicolas Werner 2022-10-05 17:25:01 +02:00
parent 005a4978bf
commit d70a344a4d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -455,7 +455,7 @@ Page {
function openUserProfile() {
Nheko.updateUserProfile();
var userProfile = userProfileComponent.createObject(timelineRoot, {
var userProfile = Qt.createComponent("qrc:/qml/dialogs/UserProfile.qml").createObject(timelineRoot, {
"profile": Nheko.currentUser
});
userProfile.show();