Update mautrix-go

This commit is contained in:
Tulir Asokan
2020-11-10 12:37:33 +02:00
parent 05b8d577f3
commit 56e4a67f42
6 changed files with 55 additions and 3 deletions

View File

@ -0,0 +1,13 @@
package upgrades
import (
"database/sql"
"maunium.net/go/mautrix/crypto/sql_store_upgrade"
)
func init() {
upgrades[19] = upgrade{"Add cross-signing keys to crypto store", func(tx *sql.Tx, c context) error {
return sql_store_upgrade.Upgrades[3](tx, c.dialect.String())
}}
}

View File

@ -39,7 +39,7 @@ type upgrade struct {
fn upgradeFunc
}
const NumberOfUpgrades = 19
const NumberOfUpgrades = 20
var upgrades [NumberOfUpgrades]upgrade