Fix sending audio and video files
This commit is contained in:
parent
bdd240b4c7
commit
dfa354bf74
6 changed files with 66 additions and 65 deletions
|
|
@ -208,7 +208,7 @@ export default {
|
|||
if (isForExport) {
|
||||
return MessageIncomingVideoExport;
|
||||
}
|
||||
return MessageVideo;
|
||||
return MessageThread;
|
||||
} else if (event.getContent().msgtype == "m.file") {
|
||||
if (isForExport) {
|
||||
return MessageIncomingFileExport;
|
||||
|
|
@ -255,7 +255,7 @@ export default {
|
|||
if (isForExport) {
|
||||
return MessageOutgoingVideoExport;
|
||||
}
|
||||
return MessageVideo;
|
||||
return MessageThread;
|
||||
} else if (event.getContent().msgtype == "m.file") {
|
||||
if (isForExport) {
|
||||
return MessageOutgoingFileExport;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue