print only once the presence when someone connect
This commit is contained in:
parent
48dfd4a3ea
commit
606c2caba1
|
@ -374,6 +374,7 @@ class GajimCore:
|
|||
|
||||
def presenceCB(self, con, prs):
|
||||
"""Called when we recieve a presence"""
|
||||
if prs.getXNode(common.jabber.NS_DELAY): return
|
||||
who = str(prs.getFrom())
|
||||
prio = prs.getPriority()
|
||||
if not prio:
|
||||
|
|
Loading…
Reference in New Issue