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

This commit is contained in:
Nyaaori 2021-10-15 23:17:08 +00:00
parent 2264a5f945
commit 484a044b50
No known key found for this signature in database
GPG key ID: 50C66D0980648414

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