comparison sat/plugins/plugin_xep_0384.py @ 3717:11f7ca8afd15

plugin XEP-0384: fix typo in attribute
author Goffi <goffi@goffi.org>
date Tue, 25 Jan 2022 17:06:28 +0100
parents 09f5ac48ffe3
children cc653b2685f0
comparison
equal deleted inserted replaced
3716:d33da3fe34a5 3717:11f7ca8afd15
198 key = '\n'.join([KEY_SESSION, bare_jid, str(device_id)]) 198 key = '\n'.join([KEY_SESSION, bare_jid, str(device_id)])
199 self._call(callback, self.data.get, key) 199 self._call(callback, self.data.get, key)
200 200
201 def storeSession(self, callback, bare_jid, device_id, session): 201 def storeSession(self, callback, bare_jid, device_id, session):
202 key = '\n'.join([KEY_SESSION, bare_jid, str(device_id)]) 202 key = '\n'.join([KEY_SESSION, bare_jid, str(device_id)])
203 self._call(callback, self._data.force, key, session) 203 self._call(callback, self.data.force, key, session)
204 204
205 def deleteSession(self, callback, bare_jid, device_id): 205 def deleteSession(self, callback, bare_jid, device_id):
206 key = '\n'.join([KEY_SESSION, bare_jid, str(device_id)]) 206 key = '\n'.join([KEY_SESSION, bare_jid, str(device_id)])
207 self._call(callback, self.data.remove, key) 207 self._call(callback, self.data.remove, key)
208 208