Пример #1
0
 def cleanup (self, message):
     """cleanup """
     log = MessageLog(mobile=message.peer,
                      sent_by=message.persistant_connection.reporter,
                      text=message.text,
                      was_handled=message.was_handled)
     log.save()
Пример #2
0
 def cleanup (self, message):
     log = MessageLog(mobile=message.peer,
                      sent_by=message.sender,
                      text=message.text,
                      was_handled=message.was_handled)
     log.save()
Пример #3
0
 def cleanup (self, message):
     log = MessageLog(mobile=message.peer,
                      sent_by=message.sender,
                      text=message.text,
                      was_handled=message.was_handled)
     log.save()