Commit 9237f794 authored by louiz’'s avatar louiz’

Have a notification when someone wants to suscribe to your presence

parent 28b2dbcc
...@@ -610,6 +610,8 @@ class Core(object): ...@@ -610,6 +610,8 @@ class Core(object):
roster.add_contact(contact, jid) roster.add_contact(contact, jid)
roster.edit_groups_of_contact(contact, []) roster.edit_groups_of_contact(contact, [])
contact.set_ask('asked') contact.set_ask('asked')
self.tabs[0].set_color_state(theme.COLOR_TAB_HIGHLIGHT)
self.information('%s wants to subscribe to your presence'%jid)
if isinstance(self.current_tab(), tabs.RosterInfoTab): if isinstance(self.current_tab(), tabs.RosterInfoTab):
self.refresh_window() self.refresh_window()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment