send m.notice instead of m.text
This commit is contained in:
parent
7d9c09ac9f
commit
e0acdabe53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user