Update mautrix-go

This commit is contained in:
Tulir Asokan 2023-01-04 12:41:45 +02:00
parent 1ce4e4a219
commit c42b1f1e93
3 changed files with 3 additions and 4 deletions

2
go.mod
View file

@ -16,7 +16,7 @@ require (
golang.org/x/net v0.4.0 golang.org/x/net v0.4.0
google.golang.org/protobuf v1.28.1 google.golang.org/protobuf v1.28.1
maunium.net/go/maulogger/v2 v2.3.2 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 ( require (

4
go.sum
View file

@ -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/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 h1:1XmIYmMd3PoQfp9J+PaHhpt80zpfmMqaShzUTC7FwY0=
maunium.net/go/maulogger/v2 v2.3.2/go.mod h1:TYWy7wKwz/tIXTpsx8G3mZseIRiC5DoMxSZazOHy68A= 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.5-0.20230104104119-befc58101aed h1:3M9suKO24OS0/6Tt74mI5vTGmNrQId38WHGM3rgx1pw=
maunium.net/go/mautrix v0.12.4/go.mod h1:NBN7/dch8xMnt4VEV9nucVOkzbP4PHr3agXJrFpM5AE= maunium.net/go/mautrix v0.12.5-0.20230104104119-befc58101aed/go.mod h1:NBN7/dch8xMnt4VEV9nucVOkzbP4PHr3agXJrFpM5AE=

View file

@ -162,7 +162,6 @@ func (portal *Portal) sendStatusEvent(evtID, lastRetry id.EventID, err error) {
content.Reason, content.Status, _, _, content.Message = errorToStatusReason(err) content.Reason, content.Status, _, _, content.Message = errorToStatusReason(err)
content.Error = err.Error() content.Error = err.Error()
} }
content.FillLegacyBooleans()
_, err = intent.SendMessageEvent(portal.MXID, event.BeeperMessageStatus, &content) _, err = intent.SendMessageEvent(portal.MXID, event.BeeperMessageStatus, &content)
if err != nil { if err != nil {
portal.log.Warnln("Failed to send message status event:", err) portal.log.Warnln("Failed to send message status event:", err)