diff --git a/apns.py b/apns.py index 826135f..ce945aa 100644 --- a/apns.py +++ b/apns.py @@ -556,7 +556,8 @@ def _make_sure_error_response_handler_worker_alive(self): _logger.warning("error response handler worker is not started after %s secs" % TIMEOUT_SEC) def send_notification_multiple(self, frame): - self._sent_notifications += frame.get_notifications(self) + if self.enhanced: + self._sent_notifications += frame.get_notifications(self) return self.write(frame.get_frame()) def register_response_listener(self, response_listener):