aboutsummaryrefslogtreecommitdiff
path: root/quotest
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-26 18:48:53 +0100
committerTobias Fella <fella@posteo.de>2022-02-26 18:59:59 +0100
commitccff9edb1c7102cfcc846561a3bdc41fc1496df9 (patch)
tree7dceaf3006c494d5049477b2f04baaa44091dc4d /quotest
parent62039b527507aa6c45fbf7ac787da6234d2faac3 (diff)
downloadlibquotient-ccff9edb1c7102cfcc846561a3bdc41fc1496df9.tar.gz
libquotient-ccff9edb1c7102cfcc846561a3bdc41fc1496df9.zip
Handle to-device messages before handling roomdata
Probably improves the performance slightly If we handle to room data first, if a message arrives at the same time as the to-device message containing the key and we handle the message first, it will not be decryptable and stored as undecrypted. Then, when the key is handled, the cache of undecrypted messages is searched, the message decrypted and replaced. When handling the key first, the message can be decryped instantly.
Diffstat (limited to 'quotest')
0 files changed, 0 insertions, 0 deletions