Skip to content

Commit 50291f7

Browse files
committed
Remove filtering of |msg from thread-ids.
The suffixes can be found for threads everywhere, including in our cache! We want api.new.get.thread_data(api.dom.visible_emails()[0]) to work, and then we need to be consistent.
1 parent 06e5763 commit 50291f7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/gmail.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2829,12 +2829,6 @@ var Gmail = function(localJQuery) {
28292829
thread_id = thread_id.substring(1);
28302830
}
28312831

2832-
// remove message id
2833-
let messageIdLocation = thread_id.indexOf("|msg");
2834-
if (messageIdLocation > 0) {
2835-
thread_id = thread_id.substring(0, messageIdLocation);
2836-
}
2837-
28382832
return thread_id;
28392833
};
28402834

0 commit comments

Comments
 (0)