Skip to content

(fix) #108: Missing _sent_notifications#109

Open
matiboy wants to merge 2 commits into
djacobs:masterfrom
matiboy:108_gateway_connection_error
Open

(fix) #108: Missing _sent_notifications#109
matiboy wants to merge 2 commits into
djacobs:masterfrom
matiboy:108_gateway_connection_error

Conversation

@matiboy
Copy link
Copy Markdown

@matiboy matiboy commented Jan 23, 2015

Define self._sent_notifications even when not using enhanced. Problem is that _sent_notifications is used in send_notification_multiple since f33faf7
Fixes #108

Define self._sent_notifications

Fixes djacobs#104
@jimhorng
Copy link
Copy Markdown
Collaborator

@matiboy , if not using enhanced, it's meaningless to store sent_notifications since APNS will not respond error on fail-to-sent notification.
So I suggest better to remove all enhanced-related logic(e.g. sent_notifications) from non-enhanced code.
FYR.

@matiboy
Copy link
Copy Markdown
Author

matiboy commented Jan 26, 2015

@jimhorng Ok makes sense. So now it's checking whether we're using enhanced before adding the results to the queue (which was causing the original error). Thanks

@jimhorng
Copy link
Copy Markdown
Collaborator

@djacobs , I think this one is good enough to be merged 👍

@jimhorng jimhorng mentioned this pull request Apr 17, 2015
@djacobs
Copy link
Copy Markdown
Owner

djacobs commented Apr 20, 2015

Thanks @jimhorng - will review shortly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants