mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Add a couple cross-realm bots.
These are new:
    new-user-bot
    emailgateway
Our cross-realm bots are hard coded to have email addresses
in the `zulip.com` domain, and they're not part of ordinary
realms.
These have always been cross-realm, but new enforcement in the
frontend code of all messages having been sent by a known user means
that it's important to add these properly.
			
			
This commit is contained in:
		@@ -1474,6 +1474,12 @@ if PRODUCTION:
 | 
			
		||||
# This is a debugging option only
 | 
			
		||||
PROFILE_ALL_REQUESTS = False
 | 
			
		||||
 | 
			
		||||
CROSS_REALM_BOT_EMAILS = set(('feedback@zulip.com', 'notification-bot@zulip.com', 'welcome-bot@zulip.com'))
 | 
			
		||||
CROSS_REALM_BOT_EMAILS = {
 | 
			
		||||
    'feedback@zulip.com',
 | 
			
		||||
    'notification-bot@zulip.com',
 | 
			
		||||
    'welcome-bot@zulip.com',
 | 
			
		||||
    'new-user-bot@zulip.com',
 | 
			
		||||
    'emailgateway@zulip.com',
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
CONTRIBUTORS_DATA = os.path.join(STATIC_ROOT, 'generated/github-contributors.json')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user