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()
def cleanup (self, message): log = MessageLog(mobile=message.peer, sent_by=message.sender, text=message.text, was_handled=message.was_handled) log.save()