Merge branch 'nyaaori/otk-sync-fix' into 'next'

Remove device_one_time_keys_count from is_empty() sync checks, fixing sync issue as reported by Nekron

Closes #115

See merge request famedly/conduit!215
This commit is contained in:
Timo Kösters 2021-10-16 06:54:14 +00:00
commit 259fc580ca

View File

@ -769,7 +769,6 @@ async fn sync_helper(
&& response.presence.is_empty()
&& response.account_data.is_empty()
&& response.device_lists.is_empty()
&& response.device_one_time_keys_count.is_empty()
&& response.to_device.is_empty()
{
// Hang a few seconds so requests are not spammed