Fix a refresh issue in the roster

This commit is contained in:
Mathieu Pasquet 2013-10-06 18:09:33 +02:00
parent 8e63ad3a08
commit 11c93a12a3

View file

@ -2497,6 +2497,7 @@ class RosterInfoTab(Tab):
if jid in roster and roster[jid].subscription in ('to', 'both'):
return self.core.information('Already subscribed.', 'Roster')
roster.add(jid)
roster.modified()
def command_name(self, arg):
"""