Show custom delegate for in-room user verification

This is independent of the in-room verification actually working, but prevents a fallback from appearing
This commit is contained in:
Tobias Fella
2024-03-23 20:56:30 +01:00
parent c3fd2428a2
commit ab4519dedd
3 changed files with 66 additions and 52 deletions

View File

@@ -213,6 +213,14 @@ DelegateChooser {
}
}
DelegateChoice {
roleValue: MessageComponentType.Verification
delegate: MimeComponent {
mimeIconSource: "security-high"
label: i18n("%1 started a user verification", model.author.escapedDisplayName)
}
}
DelegateChoice {
roleValue: MessageComponentType.Other
delegate: Item {}