forked from Mirrors/freeswitch
mod_voicemail: Fix r15636 so New are New, and Old are Old messages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15639 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2b68b0cfce
commit
90c7043e2a
@ -1073,7 +1073,7 @@ typedef struct msg_cnt_callback msg_cnt_callback_t;
|
||||
static int message_count_callback(void *pArg, int argc, char **argv, char **columnNames)
|
||||
{
|
||||
msg_cnt_callback_t *cbt = (msg_cnt_callback_t *) pArg;
|
||||
if (atoi(argv[0]) == 0) { /* UnRead */
|
||||
if (atoi(argv[0]) == 1) { /* UnRead */
|
||||
if (!strcasecmp(argv[1], "A_URGENT")) { /* Urgent */
|
||||
cbt->total_new_urgent_messages = atoi(argv[2]);
|
||||
} else { /* Normal */
|
||||
|
Loading…
Reference in New Issue
Block a user