mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-07-01 22:47:09 +02:00
Fix manual deletion
The fact this has gone unnoticed for so long is genuinely pathetic
This commit is contained in:
parent
919c770fe3
commit
159cd9942e
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class ImapService extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
async deleteSpecificEmail(uid) {
|
async deleteSpecificEmail(uid) {
|
||||||
debug(`deleting mails ${uid}`)
|
debug(`deleting mails ${uid}`)
|
||||||
if (!this.config.http.examples.uids.includes(parseInt(uid))) {
|
if (!this.config.email.examples.uids.includes(parseInt(uid))) {
|
||||||
await this.connection.deleteMessage(uid)
|
await this.connection.deleteMessage(uid)
|
||||||
console.log(`deleted mail with UID: ${uid}.`)
|
console.log(`deleted mail with UID: ${uid}.`)
|
||||||
this.emit(ImapService.EVENT_DELETED_MAIL, uid)
|
this.emit(ImapService.EVENT_DELETED_MAIL, uid)
|
||||||
|
|
Loading…
Add table
Reference in a new issue