xi-conversations

Minimal clone of thunderbird conversations
git clone https://git.ce9e.org/xi-conversations.git

commit
04e2ab5c11016ebe9e47c0a6c8b0f55d155e15c8
parent
a6b4d970fdf5a6cce0df2033e4e6d1eec59df714
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-09-15 08:29
tb128: tab.mailTab is deprecated

Diffstat

M background.js 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/background.js b/background.js

@@ -1,12 +1,12 @@
    1     1 /* global browser */
    2     2 
    3     3 browser.tabs.onCreated.addListener(tab => {
    4    -1 	if (tab.mailTab) {
   -1     4 	if (tab.type === 'mail') {
    5     5 		browser.xi.patchTab(tab.id);
    6     6 	}
    7     7 });
    8     8 
    9    -1 browser.tabs.query({mailTab: true}).then(tabs => {
   -1     9 browser.tabs.query({type: 'mail'}).then(tabs => {
   10    10 	tabs.forEach(tab => {
   11    11 		browser.xi.patchTab(tab.id);
   12    12 	});