From: Michael Jerris Date: Fri, 20 Jan 2012 01:42:28 +0000 (-0500) Subject: vm_read should mark messages as read, but not saved X-Git-Tag: v1.2-rc1~19^2~1^2~32^2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=693f2986886b4286f9bcc812b37b60d1e8e0db30;p=thirdparty%2Ffreeswitch.git vm_read should mark messages as read, but not saved --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index e63a8db201..b023979095 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -4495,9 +4495,9 @@ SWITCH_STANDARD_API(voicemail_read_api_function) if (mread) { if (uuid) { - sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld,flags='save' where uuid='%q'", (long) switch_epoch_time_now(NULL), uuid); + sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld where uuid='%q'", (long) switch_epoch_time_now(NULL), uuid); } else { - sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld,flags='save' where domain='%q'", (long) switch_epoch_time_now(NULL), domain); + sql = switch_mprintf("update voicemail_msgs set read_epoch=%ld where domain='%q'", (long) switch_epoch_time_now(NULL), domain); } } else{ if (uuid) {