diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c index d1d0976b7..47d122e0d 100644 --- a/src/modules/module-protocol-native.c +++ b/src/modules/module-protocol-native.c @@ -1326,9 +1326,8 @@ impl_new_client(struct pw_protocol *protocol, if (props) { str = spa_dict_lookup(props, PW_KEY_REMOTE_INTENTION); - if (str == NULL && - (str = spa_dict_lookup(props, PW_KEY_REMOTE_NAME)) != NULL && - spa_streq(str, "internal")) + if ((str == NULL || spa_streq(str, "generic")) && + spa_streq(spa_dict_lookup(props, PW_KEY_REMOTE_NAME), "internal")) str = "internal"; } if (str == NULL)