Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
cd62981a
Commit
cd62981a
authored
6 years ago
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Revert spurious delete
parent
8d8834d3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/handlers/message.py
+4
-0
4 additions, 0 deletions
synapse/handlers/message.py
with
4 additions
and
0 deletions
synapse/handlers/message.py
+
4
−
0
View file @
cd62981a
...
...
@@ -391,6 +391,10 @@ class EventCreationHandler(object):
if
self
.
_block_events_without_consent_error
is
None
:
return
# exempt AS users from needing consent
if
requester
.
app_service
is
not
None
:
return
user_id
=
requester
.
user
.
to_string
()
# exempt the system notices user
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment