summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2022-11-08 11:32:25 -0800
committerH. Shay <hillerys@element.io>2022-11-08 11:32:25 -0800
commit060c1a153c5557508a9b97e4c91626b1910f5697 (patch)
tree283ea6ad4ff6fce799a8bbe2f0af770f30b3d08b /synapse
parentcall compute event context for batched from room code (diff)
downloadsynapse-060c1a153c5557508a9b97e4c91626b1910f5697.tar.xz
remove unnecessary event context method
Diffstat (limited to 'synapse')
-rw-r--r--synapse/events/snapshot.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/synapse/events/snapshot.py b/synapse/events/snapshot.py
index 86763ac068..1c0e96bec7 100644
--- a/synapse/events/snapshot.py
+++ b/synapse/events/snapshot.py
@@ -116,25 +116,6 @@ class EventContext:
         )
 
     @staticmethod
-    def without_state_group(
-        storage: "StorageControllers",
-        partial_state: bool = False,
-        state_group_before_event: Optional[int] = None,
-        state_delta_due_to_event: Optional[StateMap[str]] = None,
-        prev_group: Optional[int] = None,
-        delta_ids: Optional[StateMap[str]] = None,
-    ) -> "EventContext":
-        return EventContext(
-            storage=storage,
-            state_group=None,
-            state_group_before_event=state_group_before_event,
-            state_delta_due_to_event=state_delta_due_to_event,
-            prev_group=prev_group,
-            delta_ids=delta_ids,
-            partial_state=partial_state,
-        )
-
-    @staticmethod
     def for_outlier(
         storage: "StorageControllers",
     ) -> "EventContext":