Even if correct solution like "use folder in XLIST" in UI will be implemented, logic in DiscoveryDone() on trash folder should be changed to one like next;
> If (GmailIMAP && A_Flag==1) { force [Gmail]/Trash in XLIST ; }
> Else if (GmailIMAP && A_Flag==2) { don't force [Gmail]/Trash in XLIST ; }
> Else if (!GmailIMAP) { same as current }
I merely called the A_Flag "force_Gmail_Trash_if_is_gmail", and I merely proposed it as "a new boolean of prefs.js".
Even if correct solution like "use folder in XLIST" in UI will be implemented, logic in DiscoveryDone() on trash folder should be changed to one like next; Gmail_Trash_ if_is_gmail" , and I merely proposed it as "a new boolean of prefs.js".
> If (GmailIMAP && A_Flag==1) { force [Gmail]/Trash in XLIST ; }
> Else if (GmailIMAP && A_Flag==2) { don't force [Gmail]/Trash in XLIST ; }
> Else if (!GmailIMAP) { same as current }
I merely called the A_Flag "force_