Skip to content
Snippets Groups Projects
Commit 9ba32f65 authored by Half-Shot's avatar Half-Shot
Browse files

Exempt bot users

parent ffa5b757
No related branches found
No related tags found
No related merge requests found
......@@ -469,7 +469,7 @@ class EventCreationHandler(object):
u = yield self.store.get_user_by_id(user_id)
assert u is not None
if u["user_type"] == UserTypes.SUPPORT:
if u["user_type"] == UserTypes.SUPPORT or u["user_type"] == UserTypes.BOT:
# support users are not required to consent
return
if u["appservice_id"] is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment