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:
@@ -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
|
||||
};
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user