|
|
|
@ -95,21 +95,21 @@ Rectangle { |
|
|
|
|
height: item.height |
|
|
|
|
|
|
|
|
|
source: switch(model.type) { |
|
|
|
|
case MtxEvent.Aliases: return "delegates/Aliases.qml" |
|
|
|
|
case MtxEvent.Avatar: return "delegates/Avatar.qml" |
|
|
|
|
case MtxEvent.CanonicalAlias: return "delegates/CanonicalAlias.qml" |
|
|
|
|
case MtxEvent.Create: return "delegates/Create.qml" |
|
|
|
|
case MtxEvent.GuestAccess: return "delegates/GuestAccess.qml" |
|
|
|
|
case MtxEvent.HistoryVisibility: return "delegates/HistoryVisibility.qml" |
|
|
|
|
case MtxEvent.JoinRules: return "delegates/JoinRules.qml" |
|
|
|
|
case MtxEvent.Member: return "delegates/Member.qml" |
|
|
|
|
case MtxEvent.Name: return "delegates/Name.qml" |
|
|
|
|
case MtxEvent.PowerLevels: return "delegates/PowerLevels.qml" |
|
|
|
|
case MtxEvent.Topic: return "delegates/Topic.qml" |
|
|
|
|
//case MtxEvent.Aliases: return "delegates/Aliases.qml" |
|
|
|
|
//case MtxEvent.Avatar: return "delegates/Avatar.qml" |
|
|
|
|
//case MtxEvent.CanonicalAlias: return "delegates/CanonicalAlias.qml" |
|
|
|
|
//case MtxEvent.Create: return "delegates/Create.qml" |
|
|
|
|
//case MtxEvent.GuestAccess: return "delegates/GuestAccess.qml" |
|
|
|
|
//case MtxEvent.HistoryVisibility: return "delegates/HistoryVisibility.qml" |
|
|
|
|
//case MtxEvent.JoinRules: return "delegates/JoinRules.qml" |
|
|
|
|
//case MtxEvent.Member: return "delegates/Member.qml" |
|
|
|
|
//case MtxEvent.Name: return "delegates/Name.qml" |
|
|
|
|
//case MtxEvent.PowerLevels: return "delegates/PowerLevels.qml" |
|
|
|
|
//case MtxEvent.Topic: return "delegates/Topic.qml" |
|
|
|
|
case MtxEvent.NoticeMessage: return "delegates/NoticeMessage.qml" |
|
|
|
|
case MtxEvent.TextMessage: return "delegates/TextMessage.qml" |
|
|
|
|
case MtxEvent.ImageMessage: return "delegates/ImageMessage.qml" |
|
|
|
|
case MtxEvent.VideoMessage: return "delegates/VideoMessage.qml" |
|
|
|
|
//case MtxEvent.VideoMessage: return "delegates/VideoMessage.qml" |
|
|
|
|
case MtxEvent.Redacted: return "delegates/Redacted.qml" |
|
|
|
|
default: return "delegates/placeholder.qml" |
|
|
|
|
} |
|
|
|
|