From df020281f1011afb81d619f55ded7a3fb8b145a3 Mon Sep 17 00:00:00 2001 From: Salad Dais Date: Wed, 28 Sep 2022 11:46:24 +0000 Subject: [PATCH] Remove send_message() alias --- hippolyzer/lib/base/message/circuit.py | 3 --- hippolyzer/lib/proxy/region.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hippolyzer/lib/base/message/circuit.py b/hippolyzer/lib/base/message/circuit.py index 4425859..4b0f168 100644 --- a/hippolyzer/lib/base/message/circuit.py +++ b/hippolyzer/lib/base/message/circuit.py @@ -77,9 +77,6 @@ class Circuit: ) return self._send_prepared_message(message, transport) - # Temporary alias - send_message = send - def send_reliable(self, message: Message, transport=None) -> asyncio.Future: """send() wrapper that always sends reliably and allows `await`ing ACK receipt""" if not message.synthetic: diff --git a/hippolyzer/lib/proxy/region.py b/hippolyzer/lib/proxy/region.py index fcbd4d0..372f320 100644 --- a/hippolyzer/lib/proxy/region.py +++ b/hippolyzer/lib/proxy/region.py @@ -189,7 +189,7 @@ class EventQueueManager: # over the EQ. That will allow us to shove our own event onto the response once it comes in, # otherwise we have to wait until the EQ legitimately returns 200 due to a new event. # May or may not work in OpenSim. - circuit.send_message(Message( + circuit.send(Message( 'PlacesQuery', Block('AgentData', AgentID=session.agent_id, SessionID=session.id, QueryID=UUID()), Block('TransactionData', TransactionID=UUID()),