events: Fix the requesting client type being always internal.

(imported from commit b03bee006547ee811c2f0af66d82dfe6bc4331fc)
This commit is contained in:
Tim Abbott
2013-05-07 11:25:25 -04:00
parent d0540efa6a
commit 74148518b4
4 changed files with 18 additions and 8 deletions

View File

@@ -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")