Remove device_one_time_keys_count from is_empty() sync checks, fixing sync issue as reported by Nekron
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user