Browse Source

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

merge-requests/215/head
Nyaaori 4 years ago
parent
commit
484a044b50
No known key found for this signature in database
GPG Key ID: 50C66D0980648414
  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