From cfb5e86337435a0c8fc4b74e4bcee610a7942d77 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Thu, 14 May 2026 16:57:59 +0100 Subject: [PATCH] device_unused_fallback_key_types should have the same problem --- synapse/types/handlers/sliding_sync.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/synapse/types/handlers/sliding_sync.py b/synapse/types/handlers/sliding_sync.py index db530dbfba..b4435072d9 100644 --- a/synapse/types/handlers/sliding_sync.py +++ b/synapse/types/handlers/sliding_sync.py @@ -314,9 +314,7 @@ class SlidingSyncResult: # default_otk = self.device_one_time_keys_count.get("signed_curve25519") # more_than_default_otk = len(self.device_one_time_keys_count) > 1 - return bool( - self.device_list_updates or self.device_unused_fallback_key_types - ) + return bool(self.device_list_updates) @attr.s(slots=True, frozen=True, auto_attribs=True) class AccountDataExtension: