hive-matrix: sliding sync starts again, the crypto store's classic /sync token is reset before it is sent as to_device.since
The sdk sends the crypto store's next_batch_token as extensions.to_device.since. Classic /sync writes its own token there, which the homeserver refuses (400, should look like an int), so every start fell back to /sync and wrote the classic token again. The daemon now replaces a non-integer token with 0 before the client opens the store.
This commit is contained in:
parent
ea1564fba7
commit
f8beca4e6a
1 changed files with 100 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -1967,6 +1967,7 @@ dependencies = [
|
|||
"futures-util",
|
||||
"hive-sock-client",
|
||||
"matrix-sdk",
|
||||
"matrix-sdk-base",
|
||||
"mime",
|
||||
"mime_guess",
|
||||
"reqwest",
|
||||
|
|
@ -1976,6 +1977,7 @@ dependencies = [
|
|||
"serde_json",
|
||||
"swarm-matrix-client",
|
||||
"swarm-secret-client",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
|
|
|
|||
Loading…
Reference in a new issue