mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
events: Fix the requesting client type being always internal.
(imported from commit b03bee006547ee811c2f0af66d82dfe6bc4331fc)
This commit is contained in:
@@ -807,8 +807,10 @@ def get_status_dict(requesting_user_profile):
|
||||
return user_statuses
|
||||
|
||||
|
||||
def do_events_register(user_profile, apply_markdown=True, event_types=None):
|
||||
queue_id = request_event_queue(user_profile, apply_markdown, event_types)
|
||||
def do_events_register(user_profile, user_client, apply_markdown=True,
|
||||
event_types=None):
|
||||
queue_id = request_event_queue(user_profile, user_client, apply_markdown,
|
||||
event_types)
|
||||
if queue_id is None:
|
||||
raise JsonableError("Could not allocate event queue")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user