Browse Source

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
merge-requests/215/merge
abyxcos 4 years ago
parent
commit
23d735f004
  1. 1
      src/client_server/sync.rs

1
src/client_server/sync.rs

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

Loading…
Cancel
Save