Update mautrix-go to fix static build

This commit is contained in:
Tulir Asokan 2020-07-10 16:35:38 +03:00
parent b7275a763a
commit b1fd0be345
3 changed files with 5 additions and 3 deletions

View file

@ -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())
}}
}

2
go.mod
View file

@ -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

2
go.sum
View file

@ -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=