mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 12:44:58 -04:00
Remove references to unstable identifiers from MSC3440. (#12382)
Removes references to unstable thread relation, unstable identifiers for filtering parameters, and the experimental config flag.
This commit is contained in:
parent
1783156dbc
commit
86cf6a3a17
11 changed files with 21 additions and 98 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue