Ensure that saving a roster item includes the correct subscription value.
Fixes issue #118
This commit is contained in:
parent
4eb7eeb40f
commit
68cf66a5fe
@ -172,6 +172,7 @@ class RosterItem(object):
|
|||||||
Save the item's state information to an external datastore,
|
Save the item's state information to an external datastore,
|
||||||
if one has been provided.
|
if one has been provided.
|
||||||
"""
|
"""
|
||||||
|
self['subscription'] = self._subscription()
|
||||||
if self.db:
|
if self.db:
|
||||||
self.db.save(self.owner, self.jid,
|
self.db.save(self.owner, self.jid,
|
||||||
self._state, self._db_state)
|
self._state, self._db_state)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user