diff options
author | Loren Burkholder <55629213+LorenDB@users.noreply.github.com> | 2022-12-10 10:17:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 10:17:15 -0500 |
commit | fa0c14b84681b94ff2136d6b7480c8b7283ad96a (patch) | |
tree | 483acc16811d00af5d13a5c196fe64f2aa3ff491 /resources/qml/delegates | |
parent | Translated using Weblate (French) (diff) | |
download | nheko-fa0c14b84681b94ff2136d6b7480c8b7283ad96a.tar.xz |
confetti (#1243)
* 🎉 (confetti) message support. Thanks @LorenDB !
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r-- | resources/qml/delegates/MessageDelegate.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml index a2a44cb2..3725be05 100644 --- a/resources/qml/delegates/MessageDelegate.qml +++ b/resources/qml/delegates/MessageDelegate.qml @@ -76,6 +76,20 @@ Item { } DelegateChoice { + roleValue: MtxEvent.ConfettiMessage + + TextMessage { + formatted: d.formattedBody + body: d.body + isOnlyEmoji: d.isOnlyEmoji + isReply: d.isReply + keepFullText: d.keepFullText + metadataWidth: d.metadataWidth + } + + } + + DelegateChoice { roleValue: MtxEvent.NoticeMessage NoticeMessage { |