Add support for automatic key sharing

This commit is contained in:
Tulir Asokan
2020-08-05 14:58:46 +03:00
parent 05da509c7c
commit aefe63cba5
7 changed files with 60 additions and 2 deletions

View File

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