Fix a refresh issue in the roster
This commit is contained in:
parent
8e63ad3a08
commit
11c93a12a3
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue