Add UI to set a custom display name for specific rooms

This is the same functionality that /myroomnick does, but it's now
exposed in a much more accessible place in the UI. A new page to the
room settings is added to configure your profile in the room. It's
currently limited to a display name.
This commit is contained in:
Joshua Goins
2025-01-18 10:05:37 -05:00
parent 1ed071949b
commit febc7d1630
4 changed files with 75 additions and 0 deletions

View File

@@ -78,6 +78,17 @@ KirigamiSettings.ConfigurationView {
room: root._room
};
}
},
KirigamiSettings.ConfigurationModule {
moduleId: "profile"
text: i18nc("@title", "Profile")
icon.name: "user-symbolic"
page: () => Qt.createComponent("org.kde.neochat.settings", "RoomProfile")
initialProperties: () => {
return {
room: root._room
};
}
}
]
}