summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-05-20 18:57:26 +0100
committerErik Johnston <erik@matrix.org>2022-05-20 18:57:26 +0100
commit3bbe3074fb2e96898aaad294a72e091d57250369 (patch)
treed312e178ab3f67e39680aa41816f39bddda7c374
parentReduce state that push rules pull from DB (diff)
downloadsynapse-3bbe3074fb2e96898aaad294a72e091d57250369.tar.xz
Ignore display name push
-rw-r--r--synapse/push/bulk_push_rule_evaluator.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py
index 6b7aa6b74d..aec7763f22 100644
--- a/synapse/push/bulk_push_rule_evaluator.py
+++ b/synapse/push/bulk_push_rule_evaluator.py
@@ -209,7 +209,8 @@ class BulkPushRuleEvaluator:
         rules_by_user = await self._get_rules_for_event(event, context)
         actions_by_user: Dict[str, List[Union[dict, str]]] = {}
 
-        room_members = await self.store.get_joined_users_from_context(event, context)
+        # FIXME!!!
+        # room_members = await self.store.get_joined_users_from_context(event, context)
 
         room_member_count = await self.store.get_number_joined_users_in_room(
             event.room_id
@@ -238,9 +239,10 @@ class BulkPushRuleEvaluator:
                 continue
 
             display_name = None
-            profile_info = room_members.get(uid)
-            if profile_info:
-                display_name = profile_info.display_name
+            # FIXME!!!
+            # profile_info = room_members.get(uid)
+            # if profile_info:
+            #     display_name = profile_info.display_name
 
             if not display_name:
                 # Handle the case where we are pushing a membership event to