Skip to content

Commit

Permalink
Don't take by default in client messagehandlers
Browse files Browse the repository at this point in the history
  • Loading branch information
SaladDais committed Dec 13, 2023
1 parent 1ded118 commit e4b73a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hippolyzer/lib/client/hippo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class HippoClientRegion(BaseClientRegion):
def __init__(self, circuit_addr, seed_cap: str, session: HippoClientSession, handle=None):
super().__init__()
self.caps = multidict.MultiDict()
self.message_handler = MessageHandler()
self.message_handler = MessageHandler(take_by_default=False)
self.circuit_addr = circuit_addr
self.handle = handle
if seed_cap:
Expand Down Expand Up @@ -133,6 +133,7 @@ def __init__(self, id, secure_session_id, agent_id, circuit_code, session_manage
self.objects = ClientWorldObjectManager(proxify(self), session_manager.settings, None)
self.transport: Optional[SocketUDPTransport] = None
self.protocol: Optional[HippoClientProtocol] = None
self.message_handler.take_by_default = False

def register_region(self, circuit_addr: Optional[ADDR_TUPLE] = None, seed_url: Optional[str] = None,
handle: Optional[int] = None) -> HippoClientRegion:
Expand Down

0 comments on commit e4b73a7

Please sign in to comment.