gmail.js icon indicating copy to clipboard operation
gmail.js copied to clipboard

Undo_Send XHR observe not working

Open petegordon opened this issue 2 years ago • 2 comments

Just noticing the undo_send observe event is not firing... created this small example from boiler plate to test it. https://github.com/petegordon/gmailjs-node-boilerplate

petegordon avatar Mar 17 '22 16:03 petegordon

This functionality was added by @JerryBels way back and I really have no deep knowledge here.

Maybe he can help?

josteink avatar Mar 22 '22 20:03 josteink

Hum... I do remember adding it for my project back then and pushing, but my project died a long time ago so I'm not using it anymore. I'm sorry but I won't be able to provide a fix soon - but it should be pretty straightforward to debug. I would say simply log action before line https://github.com/KartikTalwar/gmail.js/blob/master/src/gmail.js#L963 and check if the action_map is still fine, maybe Google changed it since then?

Good luck

JerryBels avatar Mar 23 '22 08:03 JerryBels