Prevent duplicate conversations and refocus on click (still buggy)
This commit is contained in:
@@ -225,4 +225,12 @@
|
||||
|
||||
extension.on('log', console.log.bind(console));
|
||||
|
||||
chrome.runtime.onConnect.addListener(function (port) {
|
||||
if (port.name === 'panel_presence') {
|
||||
port.onDisconnect.addListener(function (message) {
|
||||
closeConversation(message.sender.tab.windowId);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
})();
|
||||
|
Reference in New Issue
Block a user