mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
ruff: Fix PLR6104 Use += to perform an augmented assignment directly.
This is a preview rule, not yet enabled by default. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b96feb34f6
commit
1e9b6445a9
@@ -1211,7 +1211,7 @@ def fetch_usermessages(
|
||||
)
|
||||
if consent_message_id is not None:
|
||||
consented_user_ids = get_consented_user_ids(consent_message_id)
|
||||
user_profile_ids = user_profile_ids & consented_user_ids
|
||||
user_profile_ids = consented_user_ids & user_profile_ids
|
||||
user_message_chunk = []
|
||||
for user_message in user_message_query:
|
||||
if user_message.user_profile_id not in user_profile_ids:
|
||||
|
||||
Reference in New Issue
Block a user