summaryrefslogtreecommitdiff
path: root/poezio/tabs/rostertab.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-12-26 16:00:18 +0100
committermathieui <mathieui@mathieui.net>2016-12-26 16:01:35 +0100
commitfdb61cda2724f5cc79dedec4ecf041a92450216b (patch)
treef023941c1d8d2f79065bfba7379e3867a5be0586 /poezio/tabs/rostertab.py
parent2243687c442443ba56b22dd142a97b2811e796e8 (diff)
downloadpoezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.tar.gz
poezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.tar.bz2
poezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.tar.xz
poezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.zip
Add missing message types (fix #3271)
Which were being filtered by the information popup filter
Diffstat (limited to 'poezio/tabs/rostertab.py')
-rw-r--r--poezio/tabs/rostertab.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py
index 2d311012..2720bf7f 100644
--- a/poezio/tabs/rostertab.py
+++ b/poezio/tabs/rostertab.py
@@ -601,12 +601,12 @@ class RosterInfoTab(Tab):
if isinstance(item, Contact):
jid = item.bare_jid
else:
- self.core.information('No subscription to deny')
+ self.core.information('No subscription to deny', 'Warning')
return
else:
jid = safeJID(args[0]).bare
if not jid in [jid for jid in roster.jids()]:
- self.core.information('No subscription to deny')
+ self.core.information('No subscription to deny', 'Warning')
return
contact = roster[jid]
@@ -759,7 +759,7 @@ class RosterInfoTab(Tab):
if iq:
roster.update_contact_groups(contact)
else:
- self.core.information('The group could not be set')
+ self.core.information('The group could not be set', 'Error')
log.debug('Error in groupmove:\n%s', iq)
self.core.xmpp.update_roster(jid, name=name, groups=new_groups,
@@ -819,7 +819,7 @@ class RosterInfoTab(Tab):
if isinstance(item, Contact):
jid = item.bare_jid
else:
- self.core.information('No roster item to remove')
+ self.core.information('No roster item to remove', 'Error')
return
roster.remove(jid)
del roster[jid]
@@ -955,7 +955,7 @@ class RosterInfoTab(Tab):
if isinstance(item, Contact):
jid = item.bare_jid
else:
- self.core.information('No subscription to accept')
+ self.core.information('No subscription to accept', 'Warning')
return
else:
jid = safeJID(args[0]).bare