Send call notifications as notices. Fixes #82

This commit is contained in:
Tulir Asokan 2019-08-24 22:40:09 +03:00
parent 44a0fc65b8
commit 07d43c4825

View file

@ -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