Update wf_channels.c

This commit is contained in:
garbb 2022-09-07 13:28:02 -07:00 committed by akallabeth
parent 4c2c6ed310
commit 8d00137cad

View File

@ -63,9 +63,7 @@ wf_encomsp_participant_created(EncomspClientContext* context,
WINPR_ASSERT(wf);
settings = wf->common.context.settings;
if (!settings)
return ERROR_INVALID_PARAMETER;
WINPR_ASSERT(settings);
request = freerdp_settings_get_bool(settings, FreeRDP_RemoteAssistanceRequestControl);
if (request && (participantCreated->Flags & ENCOMSP_MAY_VIEW) &&