refactor sendEventAsync, add action parameters
This commit is contained in:
@@ -11,6 +11,8 @@ async function bulkArchiveConversations() {
|
||||
|
||||
console.log("Selected Conversations:", selectedConversations);
|
||||
|
||||
sendEventAsync("archive", selectedConversations.length);
|
||||
|
||||
for (const element of selectedConversations) {
|
||||
await archiveConversation(element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user