Fix some bugs with db crypto store

This commit is contained in:
Tulir Asokan
2020-05-09 20:23:30 +03:00
parent dfc5722a80
commit ea23907492
4 changed files with 39 additions and 9 deletions

View File

@@ -217,7 +217,7 @@ func (mx *MatrixHandler) HandleEncrypted(evt *event.Event) {
decrypted, err := mx.bridge.Crypto.Decrypt(evt)
if err != nil {
mx.log.Warnln("Failed to decrypt %s: %v", evt.ID, err)
mx.log.Warnfln("Failed to decrypt %s: %v", evt.ID, err)
return
}
mx.bridge.EventProcessor.Dispatch(decrypted)