-
+ 0096D80E9D0C52787F1AD8C43D6B392C5E5434DFD04F62F41361365D858EA8F92B92F901CE4165E2B4FB4079B7AA9E857CF4296DEE3EB48759CF63120F3975C5
blatta/lib/message.py
(0 . 0)(1 . 17)
264 class Message(object):
265 def __init__(self, message, server=None):
266 self.original = True
267 self.server = server
268 self.handle = message.get("handle")
269 self.peer = message.get("peer")
270 self.body = message.get("body")
271 self.timestamp = message.get("timestamp")
272 self.command = message.get("command")
273 self.speaker = message.get("speaker")
274 self.bounces = message.get("bounces")
275 self.self_chain = message.get("self_chain")
276 self.net_chain = message.get("net_chain")
277 self.self_chain_valid = message.get("self_chain_valid")
278 self.error_code = message.get("error_code")
279 if server:
280 self.state = server.state