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