Skip to content

Commit

Permalink
sdp: fix custom disable logic in receive path
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 committed Jan 3, 2025
1 parent 90cc6ec commit 5b31108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model/smartdeviceplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,9 +904,9 @@ def on_data_received(self, by, data, command=None):
except SDPResultError:
pass
else:
if custom:
if custom and self._commands.custom_is_enabled_for(command):
command = command + CUSTOM_SEP + custom
self._connection.check_reply(command, value) # needed for resend protocol
self._connection.check_reply(command, value) # needed for resend protocol
self._dispatch_callback(command, value, by)
self._process_additional_data(command, data, value, custom, by)

Expand Down

0 comments on commit 5b31108

Please sign in to comment.