mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Enabled authed uploads for Bargain Bit.
(imported from commit f793b7ac41341384b914168a3fc5ed637d63a645)
This commit is contained in:
@@ -94,7 +94,7 @@ def get_file_info(request, user_file):
|
||||
return uploaded_file_name, content_type
|
||||
|
||||
def authed_upload_enabled(realm):
|
||||
return realm.domain in ('zulip.com', 'squarespace.com')
|
||||
return realm.domain in ('zulip.com', 'squarespace.com', 'bargainbit.com')
|
||||
|
||||
def upload_message_image_s3(uploaded_file_name, content_type, file_data, user_profile, private=None, target_realm=None):
|
||||
if private is None:
|
||||
|
||||
Reference in New Issue
Block a user