forked from Silverfish/proton-bridge
fix(GODT-2323): Fix Expunge not issued for move
When moving between system labels the expunge commands were not being issued.
This commit is contained in:
@ -427,7 +427,7 @@ func (conn *imapConnector) MoveMessages(ctx context.Context, messageIDs []imap.M
|
||||
result = result || true
|
||||
}
|
||||
|
||||
if v, ok := conn.apiLabels[string(labelToID)]; ok && v.Type == proton.LabelTypeFolder {
|
||||
if v, ok := conn.apiLabels[string(labelToID)]; ok && (v.Type == proton.LabelTypeFolder || v.Type == proton.LabelTypeSystem) {
|
||||
result = result || true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user