Exemple #1
0
 def parse(self, msg):
     msg.sender = contact_from_message(msg,self.router)
     txt = 'Added Contact to msg: %r,%s with connections: %s'
     self.info(txt, 
               msg.sender, msg.sender.locale,
               ', '.join([repr(c) for c \
                         in msg.sender.channel_connections.all()]))
Exemple #2
0
 def parse(self, msg):
     msg.sender = contact_from_message(msg,save=True)
     txt = 'Added Contact to msg: %r,%s with connections: %s'
     self.info(txt, 
               msg.sender, msg.sender.reporter.language,
               ', '.join([repr(c) for c \
                         in msg.sender.connections.all()]))