Skip to content

Commit

Permalink
[BASE] fix close message being none
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanogueira committed May 1, 2024
1 parent 23ca2ec commit a84ae70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocket_connect/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ def ingoing(self):
print("SHOULD GET: ", message.get("msg"))
print("DEPARTMENT CLOSING: ", department)
print("ROOM INFo:", room_info)
if message.get("msg") and not ignore_close_message:
if message.get("msg") and message.get("msg") != "None" and not ignore_close_message:
print("GOT IN!!!!")
if self.connector.config.get(
"add_agent_name_at_close_message",
Expand Down

0 comments on commit a84ae70

Please sign in to comment.