Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ def on_agent_notification(

def route_selector(context: TurnContext) -> bool:
ch = context.activity.channel_id
received_channel = ch.channel if ch else ""
received_subchannel = ch.sub_channel if ch else ""
received_channel = received_channel.lower()
received_subchannel = received_subchannel.lower()
received_channel = (ch.channel if ch else "").lower()
received_subchannel = (ch.sub_channel if ch and ch.sub_channel else "").lower()
if received_channel != registered_channel:
return False
if registered_subchannel == "*":
Expand Down
Loading