From f9b88839c3956873390746778714409b121c5cd4 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 17 Jun 2021 12:38:04 +0300 Subject: [PATCH] Update mautrix-go --- formatting.go | 2 +- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/formatting.go b/formatting.go index a12a283..3b3237e 100644 --- a/formatting.go +++ b/formatting.go @@ -53,7 +53,7 @@ func NewFormatter(bridge *Bridge) *Formatter { TabsToSpaces: 4, Newline: "\n", - PillConverter: func(mxid, eventID string, ctx format.Context) string { + PillConverter: func(displayname, mxid, eventID string, ctx format.Context) string { if mxid[0] == '@' { puppet := bridge.GetPuppetByMXID(id.UserID(mxid)) if puppet != nil { diff --git a/go.mod b/go.mod index e82461e..cd4b0fa 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( gopkg.in/yaml.v2 v2.4.0 maunium.net/go/mauflag v1.0.0 maunium.net/go/maulogger/v2 v2.2.4 - maunium.net/go/mautrix v0.9.13 + maunium.net/go/mautrix v0.9.14 ) replace github.com/Rhymen/go-whatsapp => github.com/tulir/go-whatsapp v0.5.5 diff --git a/go.sum b/go.sum index c2d4cbd..f7adc9d 100644 --- a/go.sum +++ b/go.sum @@ -695,6 +695,8 @@ maunium.net/go/mautrix v0.9.12 h1:iNsKOCyK/BqN6Q/7A1aLj1B0/lMbr81LIg+Lry1Vjuo= maunium.net/go/mautrix v0.9.12/go.mod h1:7IzKfWvpQtN+W2Lzxc0rLvIxFM3ryKX6Ys3S/ZoWbg8= maunium.net/go/mautrix v0.9.13 h1:yMy5OOWZBmXalXdexlPoTp4Qzze2IKKIY+0as2YYbw8= maunium.net/go/mautrix v0.9.13/go.mod h1:7IzKfWvpQtN+W2Lzxc0rLvIxFM3ryKX6Ys3S/ZoWbg8= +maunium.net/go/mautrix v0.9.14 h1:2MMJ630VM+xfa4Q5AooMAhPG1+wQnQybSr/z8PlRZ8A= +maunium.net/go/mautrix v0.9.14/go.mod h1:7IzKfWvpQtN+W2Lzxc0rLvIxFM3ryKX6Ys3S/ZoWbg8= sigs.k8s.io/yaml v1.1.0 h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM=