(1 . 7)(1 . 7)
666 class Message(object):
667 def __init__(self, message, server=None):
668 def __init__(self, message):
669 self.original = True
670 self.server = server
671 self.prefix = None
672 self.handle = message.get("handle")
673 self.peer = message.get("peer")
674 self.body = message.get("body")
(13 . 5)(13 . 4)
676 self.net_chain = message.get("net_chain")
677 self.self_chain_valid = message.get("self_chain_valid")
678 self.error_code = message.get("error_code")
679 if server:
680 self.state = server.state
681 self.message_hash = message.get("message_hash")