Send call notifications as notices. Fixes #82
This commit is contained in:
parent
44a0fc65b8
commit
07d43c4825
@ -848,7 +848,7 @@ func (portal *Portal) HandleFakeMessage(source *User, message FakeMessage) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := portal.MainIntent().SendText(portal.MXID, message.Text)
|
_, err := portal.MainIntent().SendNotice(portal.MXID, message.Text)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
portal.log.Errorfln("Failed to handle fake message %s: %v", message.ID, err)
|
portal.log.Errorfln("Failed to handle fake message %s: %v", message.ID, err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user