Translate events in pre-channel subscribe responses.

This commit is contained in:
Ian Gulliver
2014-06-19 23:36:47 -07:00
parent 3c452dabf3
commit 368c704b81
2 changed files with 8 additions and 6 deletions

2
api.py
View File

@@ -137,7 +137,7 @@ def Subscribe(google_user, client, client_address, instance_id, args):
# Probably a race with the channel opening
return {
'result': 'retry',
'events': subject.GetEvents(messages, last_id),
'events': subject.GetEvents(messages, last_id, args['subject']),
}
return {