From 973afcdd26e3b8919e3c452319df4c866baf88b5 Mon Sep 17 00:00:00 2001 From: Peter Roberts Date: Sat, 11 Apr 2020 14:44:11 +0100 Subject: [PATCH] portal: bridge notices --- portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal.go b/portal.go index dbbc2c6..b63fc7e 100644 --- a/portal.go +++ b/portal.go @@ -1263,7 +1263,7 @@ func (portal *Portal) HandleMatrixMessage(sender *User, evt *mautrix.Event) { } var err error switch evt.Content.MsgType { - case mautrix.MsgText, mautrix.MsgEmote: + case mautrix.MsgText, mautrix.MsgEmote, mautrix.MsgNotice: text := evt.Content.Body if evt.Content.Format == mautrix.FormatHTML { text = portal.bridge.Formatter.ParseMatrix(evt.Content.FormattedBody)