Don't send pins until a subscription is established, since unpin events never come in that case.
This commit is contained in:
2
api.py
2
api.py
@@ -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, args['subject']),
|
||||
'events': subject.GetEvents(messages, last_id, args['subject'], pins=False),
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user