forked from MirrorHub/mautrix-whatsapp
Send call notifications as notices. Fixes #82
This commit is contained in:
parent
44a0fc65b8
commit
07d43c4825
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ func (portal *Portal) HandleFakeMessage(source *User, message FakeMessage) {
|
|||
return
|
||||
}
|
||||
|
||||
_, err := portal.MainIntent().SendText(portal.MXID, message.Text)
|
||||
_, err := portal.MainIntent().SendNotice(portal.MXID, message.Text)
|
||||
if err != nil {
|
||||
portal.log.Errorfln("Failed to handle fake message %s: %v", message.ID, err)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue