Display single image messages using the thread component
This commit is contained in:
parent
a27864e3d2
commit
4a275c116b
2 changed files with 27 additions and 6 deletions
|
|
@ -198,7 +198,7 @@ export default {
|
|||
if (isForExport) {
|
||||
return MessageIncomingImageExport;
|
||||
}
|
||||
return MessageImage;
|
||||
return MessageThread;
|
||||
} else if (event.getContent().msgtype == "m.audio") {
|
||||
if (isForExport) {
|
||||
return MessageIncomingAudioExport;
|
||||
|
|
@ -245,7 +245,7 @@ export default {
|
|||
if (isForExport) {
|
||||
return MessageOutgoingImageExport;
|
||||
}
|
||||
return MessageImage;
|
||||
return MessageThread;
|
||||
} else if (event.getContent().msgtype == "m.audio") {
|
||||
if (isForExport) {
|
||||
return MessageOutgoingAudioExport;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue