diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2004-02-19 00:03:45 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2004-02-19 00:03:45 +0300 |
commit | 96e6ccf3dce389c7318f7fff6b88cffacbeb3d16 (patch) | |
tree | 1ed9c4cd4996026e1af0b26516751876c15e6c10 /common | |
parent | b553f44952cab9029a9aa6b5137d2e073877fb5f (diff) |
get vCard infos
Diffstat (limited to 'common')
-rw-r--r-- | common/jabber.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/jabber.py b/common/jabber.py index b7a7afc60..bcf678489 100644 --- a/common/jabber.py +++ b/common/jabber.py @@ -62,7 +62,7 @@ An example of usage for a simple client would be ( only psuedo code !) """ -# $Id: jabber.py,v 1.4 2004/01/14 01:06:27 asterix86 Exp $ +# $Id$ import xmlstream import sha, time @@ -276,6 +276,7 @@ class Connection(xmlstream.Client): if not self.handlers[name].has_key(ns): ns='' if not self.handlers[name].has_key(typ): typ='' if not self.handlers[name].has_key(typns): typns='' + if typ==typns: typns='' chain=[] for key in ['default',typ,ns,typns]: # we will use all handlers: from very common to very particular |