Skip to content

Commit

Permalink
[dialog] fix too strict restrictions for get_profile_size()
Browse files Browse the repository at this point in the history
The function does not require any existing dialog context, so it can be used from any route

(cherry picked from commit a5f8501)
  • Loading branch information
bogdan-iancu committed Jun 14, 2023
1 parent 7680b58 commit 73f00ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dialog/dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static const cmd_export_t cmds[]={
{CMD_PARAM_STR,0,0},
{CMD_PARAM_STR|CMD_PARAM_OPT,0,0},
{CMD_PARAM_VAR,fixup_check_var,0}, {0,0,0}},
REQUEST_ROUTE| FAILURE_ROUTE | ONREPLY_ROUTE | BRANCH_ROUTE},
ALL_ROUTES},
{"set_dlg_flag", (cmd_function)w_set_dlg_flag, {
{CMD_PARAM_STR|CMD_PARAM_STATIC,fixup_dlg_flag,0}, {0,0,0}},
REQUEST_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
Expand Down

0 comments on commit 73f00ed

Please sign in to comment.