Author Topic: Change Unsubscribe \NonExistent behaviour?  (Read 2196 times)

Offline bobpullen

  • Newbie
  • *
  • Posts: 5
Change Unsubscribe \NonExistent behaviour?
« on: September 12, 2019, 04:36:02 PM »
Wondering if it's possible to change this behaviour with a flag or some-such?

After a refresh of the IMAP listing of a connected GMail account,  I get a toast pop up advising me of a server error trying to unsubscribe to the root [GMail] folder (which I don't believe can be manipulated by the user).

Code: [Select]
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasChildren \NonExistent \Subscribed) "/" "[Gmail]"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/All Mail"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/Bin"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/Drafts"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/Important"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/Sent Mail"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/Spam"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: * LIST (\HasNoChildren \Subscribed) "/" "[Gmail]/Starred"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: A0005 OK Success
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] C: A0006 UNSUBSCRIBE "[Gmail]"
[12-Sep-2019 19:03:26 +0100]: <107eghbl> [01E8] S: A0006 NO [NONEXISTENT] Folder doesn't exist (Failure)

I can remove the code that's doing this but wondered if there was a more graceful solution?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Change Unsubscribe \NonExistent behaviour?
« Reply #1 on: September 13, 2019, 02:09:51 AM »
The existence of the UNSUBSCRIBE command is a minor issue. We could detect gmail and skip the code. I agree that the warning should not be displayed in UI that's something that makes more sense to fix. Could you create a ticket at https://github.com/roundcube/roundcubemail/issues providing detailed steps to reproduce, maybe a screenshot.

Offline bobpullen

  • Newbie
  • *
  • Posts: 5
Re: Change Unsubscribe \NonExistent behaviour?
« Reply #2 on: September 13, 2019, 07:23:07 AM »