print only once the presence when someone connect

This commit is contained in:
Yann Leboulanger 2004-11-09 00:13:13 +00:00
parent 48dfd4a3ea
commit 606c2caba1
1 changed files with 1 additions and 0 deletions

View File

@ -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: