matrix continuation lives in db not config file

This commit is contained in:
Bel LaPointe
2022-01-14 08:48:09 -05:00
parent cf421e414c
commit 442e8c2992
5 changed files with 23 additions and 11 deletions

View File

@@ -141,11 +141,7 @@ func matrixrecv() error {
}
setNewPauses(pauses)
}()
conf := *config.Get()
if conf.Message.Matrix.Continuation != sender.Continuation() {
conf.Message.Matrix.Continuation = sender.Continuation()
config.Set(conf)
}
message.SetMatrixContinuation(sender.Continuation())
return nil
}