]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Let vm_mailbox_snapshot_create's combine option apply to "Urgent" as well
authorMatthew Jordan <mjordan@digium.com>
Wed, 20 Feb 2013 19:14:32 +0000 (19:14 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 20 Feb 2013 19:14:32 +0000 (19:14 +0000)
commitc157d591f532f3fd4713598e39c6be9dc454bb6f
tree824ecf4d2479f33f3453fe2ec3b4df758f19eaf3
parentcf533947c77ee15f02491ccffc0efc977b7281b8
Let vm_mailbox_snapshot_create's combine option apply to "Urgent" as well

The vm_mailbox_snapshot_create function has an option that combines the
contents of INBOX and Old into a single snapshot. The intent of this is that
both 'new' messages and 'deleted' messages are given in a single snapshot, as
some applications prefer this view of the voicemail world. Unfortunately, the
initial implementation ignored the "Urgent" folder. The "Urgent" folder is a
pseudo-INBOX, in that new messages left with the 'U' flag will be placed in
that folder as opposed to INBOX. Thus, the option failed the intent with which
it was added.

This patch makes it so that the "Urgent" folder is included in the snapshot
when that option is used.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@381835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c