Remove send_message() alias

This commit is contained in:
Salad Dais
2022-09-28 11:46:24 +00:00
parent 78c1b8869e
commit df020281f1
2 changed files with 1 additions and 4 deletions

View File

@@ -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:

View File

@@ -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()),