From b1fd0be345aedb03776cf5c1eca3012f9ea23ebb Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 10 Jul 2020 16:35:38 +0300 Subject: [PATCH] Update mautrix-go to fix static build --- database/upgrades/2020-07-10-update-crypto-store.go | 4 ++-- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/database/upgrades/2020-07-10-update-crypto-store.go b/database/upgrades/2020-07-10-update-crypto-store.go index 9baf6b0..e33b20f 100644 --- a/database/upgrades/2020-07-10-update-crypto-store.go +++ b/database/upgrades/2020-07-10-update-crypto-store.go @@ -3,11 +3,11 @@ package upgrades import ( "database/sql" - "maunium.net/go/mautrix/crypto" + "maunium.net/go/mautrix/crypto/sql_store_upgrade" ) func init() { upgrades[16] = upgrade{"Add account_id to crypto store", func(tx *sql.Tx, c context) error { - return crypto.SQLStoreMigrations[1](tx, c.dialect.String()) + return sql_store_upgrade.Upgrades[1](tx, c.dialect.String()) }} } diff --git a/go.mod b/go.mod index 6a524f5..23e6672 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( gopkg.in/yaml.v2 v2.3.0 maunium.net/go/mauflag v1.0.0 maunium.net/go/maulogger/v2 v2.1.1 - maunium.net/go/mautrix v0.6.0 + maunium.net/go/mautrix v0.6.1 ) replace github.com/Rhymen/go-whatsapp => github.com/tulir/go-whatsapp v0.3.4 diff --git a/go.sum b/go.sum index edc6a0c..474ee6e 100644 --- a/go.sum +++ b/go.sum @@ -206,3 +206,5 @@ maunium.net/go/mautrix v0.5.8 h1:jOE3U8WYSIc4qbYvyVaDhOaQcB3sDPN5A2zQ93YixZ0= maunium.net/go/mautrix v0.5.8/go.mod h1:Va/74MijqaS0DQ3aUqxmFO54/PMfr1LVsCOcGRHbYmo= maunium.net/go/mautrix v0.6.0 h1:V32l4aygKk2XcH3fi8Yd0pFeSyYZJNRIvr8vdA2GtC8= maunium.net/go/mautrix v0.6.0/go.mod h1:Va/74MijqaS0DQ3aUqxmFO54/PMfr1LVsCOcGRHbYmo= +maunium.net/go/mautrix v0.6.1 h1:OFxAEnjEtkstE5J3RLv+vVrUORY6UTXV8pD/qWRBTPI= +maunium.net/go/mautrix v0.6.1/go.mod h1:Va/74MijqaS0DQ3aUqxmFO54/PMfr1LVsCOcGRHbYmo=