Fix unstable set comprehension formatting (#5327)

This commit is contained in:
Micha Reiser 2023-06-23 11:50:24 +02:00 committed by GitHub
parent 930f03de98
commit 2dfa6ff58d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 13 deletions

View file

@ -187,3 +187,8 @@ if (
a + b
):
...
# Unstable formatting in https://github.com/realtyem/synapse-unraid/blob/unraid_develop/synapse/handlers/presence.py
for user_id in set(target_user_ids) - {u.user_id for u in updates}:
updates.append(UserPresenceState.default(user_id))