diff --git a/go.mod b/go.mod index 5ddc241..4984f27 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.3.0 - maunium.net/go/mautrix v0.9.20 + maunium.net/go/mautrix v0.9.21 ) replace github.com/Rhymen/go-whatsapp => github.com/tulir/go-whatsapp v0.5.10 diff --git a/go.sum b/go.sum index bd24420..bd3b368 100644 --- a/go.sum +++ b/go.sum @@ -217,5 +217,5 @@ maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfk maunium.net/go/maulogger/v2 v2.2.4/go.mod h1:TYWy7wKwz/tIXTpsx8G3mZseIRiC5DoMxSZazOHy68A= maunium.net/go/maulogger/v2 v2.3.0 h1:TMCcO65fLk6+pJXo7sl38tzjzW0KBFgc6JWJMBJp4GE= maunium.net/go/maulogger/v2 v2.3.0/go.mod h1:TYWy7wKwz/tIXTpsx8G3mZseIRiC5DoMxSZazOHy68A= -maunium.net/go/mautrix v0.9.20 h1:MUKnH3etwsoi1K/1jhUg1NG8qcupzrj3w56rDnDF7mc= -maunium.net/go/mautrix v0.9.20/go.mod h1:7IzKfWvpQtN+W2Lzxc0rLvIxFM3ryKX6Ys3S/ZoWbg8= +maunium.net/go/mautrix v0.9.21 h1:Cga/x4eUMzxH8d14l7pgZuZH3REhdNJmxbp/to48TdE= +maunium.net/go/mautrix v0.9.21/go.mod h1:7IzKfWvpQtN+W2Lzxc0rLvIxFM3ryKX6Ys3S/ZoWbg8= diff --git a/main.go b/main.go index 18928fc..ebf0b52 100644 --- a/main.go +++ b/main.go @@ -311,6 +311,7 @@ func (bridge *Bridge) Start() { if bridge.Config.Bridge.ResendBridgeInfo { go bridge.ResendBridgeInfo() } + bridge.AS.Ready = true } func (bridge *Bridge) ResendBridgeInfo() {