Newer
Older
import QtQuick 2.6
import com.github.nheko 1.0
DelegateChooser {
//role: "type" //< not supported in our custom implementation, have to use roleValue
roleValue: model.type
DelegateChoice {
roleValue: MtxEvent.TextMessage
}
DelegateChoice {
roleValue: MtxEvent.NoticeMessage
}
DelegateChoice {
roleValue: MtxEvent.EmoteMessage
}
DelegateChoice {
roleValue: MtxEvent.ImageMessage
}
DelegateChoice {
roleValue: MtxEvent.Sticker
}
DelegateChoice {
roleValue: MtxEvent.FileMessage
}
DelegateChoice {
roleValue: MtxEvent.VideoMessage
}
DelegateChoice {
roleValue: MtxEvent.AudioMessage
}
DelegateChoice {
roleValue: MtxEvent.Redacted
Pill {
text: qsTr("redacted")
}
}
DelegateChoice {
roleValue: MtxEvent.Encryption
Pill {
text: qsTr("Encryption enabled")
}
}
DelegateChoice {