mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix thinko in unhandled user spam
This commit is contained in:
parent
ccfcef6b59
commit
24d894e2e2
@ -187,9 +187,9 @@ class UserDirectoyHandler(object):
|
|||||||
if is_public:
|
if is_public:
|
||||||
yield self.store.add_users_to_public_room(
|
yield self.store.add_users_to_public_room(
|
||||||
room_id,
|
room_id,
|
||||||
user_ids=unhandled_users - self.initially_handled_users_in_public
|
user_ids=user_ids - self.initially_handled_users_in_public
|
||||||
)
|
)
|
||||||
self.initially_handled_users_in_public != unhandled_users
|
self.initially_handled_users_in_public != user_ids
|
||||||
|
|
||||||
# We now go and figure out the new users who share rooms with user entries
|
# We now go and figure out the new users who share rooms with user entries
|
||||||
# We sleep aggressively here as otherwise it can starve resources.
|
# We sleep aggressively here as otherwise it can starve resources.
|
||||||
|
Loading…
Reference in New Issue
Block a user