From 4762dffd96bea4020e76995746919afb75aca1cb Mon Sep 17 00:00:00 2001 From: Carlos Quintana <74399022+cquintana92@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:55:25 +0200 Subject: [PATCH] feat: disable whitelist events (#2230) --- app/events/event_dispatcher.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/events/event_dispatcher.py b/app/events/event_dispatcher.py index 468baa38..2cf29b7e 100644 --- a/app/events/event_dispatcher.py +++ b/app/events/event_dispatcher.py @@ -64,10 +64,6 @@ class EventDispatcher: ) return - if config.EVENT_WEBHOOK_ENABLED_USER_IDS is not None: - if user.id not in config.EVENT_WEBHOOK_ENABLED_USER_IDS: - return - partner_user = EventDispatcher.__partner_user(user.id) if not partner_user: LOG.i(f"Not sending events because there's no partner user for user {user}")