diff --git a/dbus_next/message_bus.py b/dbus_next/message_bus.py index 8bb830d..a6e14ec 100644 --- a/dbus_next/message_bus.py +++ b/dbus_next/message_bus.py @@ -760,9 +760,12 @@ def _find_message_handler(self, msg): for method in ServiceInterface._get_methods(interface): if method.disabled: continue - if msg._matches(interface=interface.name, - member=method.name, - signature=method.in_signature): + if msg.interface is None and msg._matches( + member=method.name, + signature=method.in_signature + ) or msg._matches(interface=interface.name, + member=method.name, + signature=method.in_signature): handler = self._make_method_handler(interface, method) break if handler: