Пример #1
0
 def ownerInfo(self):
     if self._ownerInfo is None:
         self._ownerInfo = getJidInfo(dtalkXdg.OWNER_JID)
     return self._ownerInfo
Пример #2
0
 def on_post_save(self, instance,  *args, **kwargs):    
     if instance.isSelf:
         self.ownerInfo = getJidInfo(instance)
Пример #3
0
 def getJidInfo(self, jid):
     return getJidInfo(jid)