summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-04-12 08:42:03 -0400
committerGitHub <noreply@github.com>2022-04-12 08:42:03 -0400
commit86cf6a3a17376dd83a9222f77521d1619b528d66 (patch)
tree3552f7be218aa0079d3a6edaddf4614566f1d25c /synapse/handlers/message.py
parentAdd some type hints to datastore (#12423) (diff)
downloadsynapse-86cf6a3a17376dd83a9222f77521d1619b528d66.tar.xz
Remove references to unstable identifiers from MSC3440. (#12382)
Removes references to unstable thread relation, unstable
identifiers for filtering parameters, and the experimental
config flag.
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 7db6905c61..47a63005a9 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -1102,10 +1102,7 @@ class EventCreationHandler:
                 raise SynapseError(400, "Can't send same reaction twice")
 
         # Don't attempt to start a thread if the parent event is a relation.
-        elif (
-            relation_type == RelationTypes.THREAD
-            or relation_type == RelationTypes.UNSTABLE_THREAD
-        ):
+        elif relation_type == RelationTypes.THREAD:
             if await self.store.event_includes_relation(relates_to):
                 raise SynapseError(
                     400, "Cannot start threads from an event with a relation"