Added possibility to Drag&Drop message selection between folders.

fix #3775
This commit is contained in:
Antoine Nguyen
2025-11-25 15:22:20 +01:00
parent ab9231cc8c
commit ae1ba7149d
11 changed files with 195 additions and 58 deletions
+14 -6
View File
@@ -65,23 +65,31 @@ export default {
responseType: 'blob',
})
},
deleteSelection(mailbox, selection) {
moveSelection(source, destination, selection) {
const body = {
mailbox,
source,
destination,
selection,
}
return repository.post('/webmail/emails/move/', body)
},
deleteSelection(source, selection) {
const body = {
source,
selection,
}
return repository.post('/webmail/emails/delete/', body)
},
markSelectionAsJunk(mailbox, selection) {
markSelectionAsJunk(source, selection) {
const body = {
mailbox,
source,
selection,
}
return repository.post('/webmail/emails/mark_as_junk/', body)
},
markSelectionAsNotJunk(mailbox, selection) {
markSelectionAsNotJunk(source, selection) {
const body = {
mailbox,
source,
selection,
}
return repository.post('/webmail/emails/mark_as_not_junk/', body)