KartikTalwar / gmail.js

Gmail JavaScript API
MIT License
3.74k stars 455 forks source link

api.new.get.thread_data() no longer works with domThread object. #736

Closed josteink closed 11 months ago

josteink commented 1 year ago

Demonstrated through the following snippet:

gmail.observe.on("view_thread", (domThread) => {
    console.log("Looking at thread:", domThread);
    const threadData = gmail.new.get.thread_data(domThread);
    console.log("Thread data:", threadData); // reports null!
}
josteink commented 11 months ago

Fixed. Closing.