Closed Bug 1824932 Opened 3 years ago Closed 3 years ago

Make nsMsgDBView::applyCommandToIndices available to JS via XPCOM

Categories

(Thunderbird :: Folder and Message Lists, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
113 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

The thread tree should be able to perform commands on any group of messages, selected or not, so it can do things like mark messages as spam without loading them. nsMsgDBView::ApplyCommandToIndices is the method for doing that but it's not available to JS callers. In this bug I'll make it so.

Fortunately this method is already XPCOM-like and doesn't need any major changes, other than listing it in the IDL file.

Marking this for check-in since we need it and it's a very minor change.

Target Milestone: --- → 113 Branch

Pushed by micah@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/a86fdec8136f
Make nsMsgDBView::applyCommandToIndices available to JS via XPCOM. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: