diff options
author | s-m-b <mailto.mike.s@gmail.com> | 2014-11-09 04:36:38 +0300 |
---|---|---|
committer | s-m-b <mailto.mike.s@gmail.com> | 2014-11-09 04:36:38 +0300 |
commit | e328ff483334794bfd1b6a42a2e1e8e3e2814eb5 (patch) | |
tree | 1f22f4530a8be21f44e5ef370e39f885939f4dcc /sleekxmpp | |
parent | 403462fdb82fc1b696d42ff74a2e6c1e0fc494b4 (diff) | |
download | slixmpp-e328ff483334794bfd1b6a42a2e1e8e3e2814eb5.tar.gz slixmpp-e328ff483334794bfd1b6a42a2e1e8e3e2814eb5.tar.bz2 slixmpp-e328ff483334794bfd1b6a42a2e1e8e3e2814eb5.tar.xz slixmpp-e328ff483334794bfd1b6a42a2e1e8e3e2814eb5.zip |
Typo fix of parameter name 'data' it is now 'iq'
Code was broken during refactoring
Diffstat (limited to 'sleekxmpp')
-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: |