forwarder: support more msgtype
This commit is contained in:
parent
a2179f888a
commit
a88e5aca5f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue