mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Return the realm domain if the requesting client requests it
(imported from commit c8e6e388460931076ae3d12b0c5a5dde46b39ffa)
This commit is contained in:
@@ -2020,6 +2020,9 @@ def fetch_initial_state_data(user_profile, event_types, queue_id):
|
|||||||
if want('realm'):
|
if want('realm'):
|
||||||
state['realm_name'] = user_profile.realm.name
|
state['realm_name'] = user_profile.realm.name
|
||||||
|
|
||||||
|
if want('realm_domain'):
|
||||||
|
state['realm_domain'] = user_profile.realm.domain
|
||||||
|
|
||||||
if want('realm_emoji'):
|
if want('realm_emoji'):
|
||||||
state['realm_emoji'] = user_profile.realm.get_emoji()
|
state['realm_emoji'] = user_profile.realm.get_emoji()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user