From 07d43c4825ce71ee25999fc7074d8d923246cddb Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 24 Aug 2019 22:40:09 +0300 Subject: [PATCH] Send call notifications as notices. Fixes #82 --- portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal.go b/portal.go index d48f90e..9872680 100644 --- a/portal.go +++ b/portal.go @@ -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