From c42b1f1e93bdf37f83eded37c403228edb51e527 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 4 Jan 2023 12:41:45 +0200 Subject: [PATCH] Update mautrix-go --- go.mod | 2 +- go.sum | 4 ++-- messagetracking.go | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 258dd4d..11630fc 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( golang.org/x/net v0.4.0 google.golang.org/protobuf v1.28.1 maunium.net/go/maulogger/v2 v2.3.2 - maunium.net/go/mautrix v0.12.4 + maunium.net/go/mautrix v0.12.5-0.20230104104119-befc58101aed ) require ( diff --git a/go.sum b/go.sum index 736d5be..9e15c85 100644 --- a/go.sum +++ b/go.sum @@ -122,5 +122,5 @@ maunium.net/go/mauflag v1.0.0 h1:YiaRc0tEI3toYtJMRIfjP+jklH45uDHtT80nUamyD4M= maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfkPeA= maunium.net/go/maulogger/v2 v2.3.2 h1:1XmIYmMd3PoQfp9J+PaHhpt80zpfmMqaShzUTC7FwY0= maunium.net/go/maulogger/v2 v2.3.2/go.mod h1:TYWy7wKwz/tIXTpsx8G3mZseIRiC5DoMxSZazOHy68A= -maunium.net/go/mautrix v0.12.4 h1:TAg+qkgZLlD2wvshFEuGCv7kADnAbQ6NZmTPu7wsXZI= -maunium.net/go/mautrix v0.12.4/go.mod h1:NBN7/dch8xMnt4VEV9nucVOkzbP4PHr3agXJrFpM5AE= +maunium.net/go/mautrix v0.12.5-0.20230104104119-befc58101aed h1:3M9suKO24OS0/6Tt74mI5vTGmNrQId38WHGM3rgx1pw= +maunium.net/go/mautrix v0.12.5-0.20230104104119-befc58101aed/go.mod h1:NBN7/dch8xMnt4VEV9nucVOkzbP4PHr3agXJrFpM5AE= diff --git a/messagetracking.go b/messagetracking.go index 51bc2bd..6319ea9 100644 --- a/messagetracking.go +++ b/messagetracking.go @@ -162,7 +162,6 @@ func (portal *Portal) sendStatusEvent(evtID, lastRetry id.EventID, err error) { content.Reason, content.Status, _, _, content.Message = errorToStatusReason(err) content.Error = err.Error() } - content.FillLegacyBooleans() _, err = intent.SendMessageEvent(portal.MXID, event.BeeperMessageStatus, &content) if err != nil { portal.log.Warnln("Failed to send message status event:", err)