From a0b207609cfd65dea5598838663bfc9556c6b23a Mon Sep 17 00:00:00 2001 From: Colin Reeder Date: Sat, 18 Dec 2021 14:53:51 -0700 Subject: [PATCH] fmt --- bridge/matrix/matrix.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go index 577c89f8..739a7923 100644 --- a/bridge/matrix/matrix.go +++ b/bridge/matrix/matrix.go @@ -289,16 +289,16 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) { } if msg.ParentValid() { - m := ReplyMessage { - TextMessage: matrix.TextMessage { + m := ReplyMessage{ + TextMessage: matrix.TextMessage{ MsgType: "m.text", Body: username.plain + msg.Text, FormattedBody: username.formatted + helper.ParseMarkdown(msg.Text), }, } - m.RelatedTo = InReplyToRelation { - InReplyTo: InReplyToRelationContent { + m.RelatedTo = InReplyToRelation{ + InReplyTo: InReplyToRelationContent{ EventID: msg.ParentID, }, }