mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-07 07:59:49 +00:00
remove pointless update_mwi() in vm_list api command
This commit is contained in:
parent
dee0f54026
commit
b952b2b2d9
@ -4390,7 +4390,6 @@ SWITCH_STANDARD_API(voicemail_list_api_function)
|
|||||||
|
|
||||||
vm_execute_sql_callback(profile, profile->mutex, sql, api_list_callback, stream);
|
vm_execute_sql_callback(profile, profile->mutex, sql, api_list_callback, stream);
|
||||||
switch_safe_free(sql);
|
switch_safe_free(sql);
|
||||||
update_mwi(profile, id, domain, "inbox");
|
|
||||||
|
|
||||||
if (!strcasecmp(format, "xml")) {
|
if (!strcasecmp(format, "xml")) {
|
||||||
stream->write_function(stream, "</voicemail>\n");
|
stream->write_function(stream, "</voicemail>\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user