diff options
author | Lance Stout <lancestout@gmail.com> | 2014-11-10 09:07:32 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2014-11-10 09:07:32 -0800 |
commit | 27582f6fd29e365253e7f3bf2e318a5403da9b73 (patch) | |
tree | 1f22f4530a8be21f44e5ef370e39f885939f4dcc | |
parent | 403462fdb82fc1b696d42ff74a2e6c1e0fc494b4 (diff) | |
parent | e328ff483334794bfd1b6a42a2e1e8e3e2814eb5 (diff) | |
download | slixmpp-27582f6fd29e365253e7f3bf2e318a5403da9b73.tar.gz slixmpp-27582f6fd29e365253e7f3bf2e318a5403da9b73.tar.bz2 slixmpp-27582f6fd29e365253e7f3bf2e318a5403da9b73.tar.xz slixmpp-27582f6fd29e365253e7f3bf2e318a5403da9b73.zip |
Merge pull request #326 from s-m-b/patch-1
Typo fix of parameter name 'data' it is now 'iq'
-rw-r--r-- | sleekxmpp/plugins/google/gmail/notifications.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/google/gmail/notifications.py b/sleekxmpp/plugins/google/gmail/notifications.py index 509a95fd..e65b2ca7 100644 --- a/sleekxmpp/plugins/google/gmail/notifications.py +++ b/sleekxmpp/plugins/google/gmail/notifications.py @@ -74,8 +74,8 @@ class Gmail(BasePlugin): return resp def _update_last_results(self, iq, callback=None): - self._last_result_time = data['gmail_messages']['result_time'] - threads = data['gmail_messages']['threads'] + self._last_result_time = iq['gmail_messages']['result_time'] + threads = iq['gmail_messages']['threads'] if threads: self._last_result_tid = threads[0]['tid'] if callback: |