List the room creators under Room Advanced Settings

For room versions under 12, this was only possible by looking at the
state event under developer tools. (For >=12 we display this instead of
power level, so it's more obvious.)

Right now it only displays the user IDs which is more than good enough
for my purposes.

See #707
This commit is contained in:
Joshua Goins
2026-02-20 16:30:26 -05:00
parent 5f0f9135fe
commit cbdeb9e18a

View File

@@ -70,6 +70,21 @@ FormCard.FormCardPage {
}
}
}
FormCard.FormHeader {
title: i18nc("@title:group", "Room Creators")
}
FormCard.FormCard {
Repeater {
model: root.room.creatorIds
delegate: FormCard.FormTextDelegate {
id: creatorUserDelegate
text: modelData
textItem.textFormat: Text.PlainText
}
}
}
property Kirigami.Dialog roomUpgradeDialog: Kirigami.Dialog {
id: roomUpgradeDialog