diff --git a/src/matrix.coffee b/src/matrix.coffee index 964b8df..7157e5b 100644 --- a/src/matrix.coffee +++ b/src/matrix.coffee @@ -18,7 +18,10 @@ class Matrix extends Adapter if /^(f|ht)tps?:\/\//i.test(str) @sendImage envelope, str else - @client.sendTextMessage envelope.room, str + @client.sendMessage envelope.room, { + msgtype: "m.notice", + body: str + } reply: (envelope, strings...) -> for str in strings