Skip to content
Snippets Groups Projects
Commit e677d636 authored by Jiahang Chen's avatar Jiahang Chen
Browse files

add channel confirmation

parent c4a4ee0d
Branches
Tags v1.14.3
No related merge requests found
Pipeline #385794 passed
......@@ -450,6 +450,7 @@ def __on_broker_callback(self, ch, method, properties, body):
elif isinstance(body, str):
return
ch.basic_ack(method.delivery_tag)
message_type = body.get("messageType")
if message_type == "userMessage":
self.on_user_message(body)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment