diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 97a89fe8824f56700162bb301c80eacf55cbcab5..c656cffc07de96fe6d74bfebea34e57076cd9698 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -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: