forwarder: support more msgtype

This commit is contained in:
Peter Cai 2021-01-16 21:00:04 +08:00
parent a2179f888a
commit a88e5aca5f
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,9 @@ module.exports = class Forwarder {
case "m.room.message":
switch (content.msgtype) {
case "m.image":
case "m.audio":
case "m.file":
case "m.video":
msgTxt = `${content.body} ${this.clientMatrix.mxcUrlToHttp(content.url)}`;
break;
default: