Draw attention to windows on new messages
This commit is contained in:
parent
0b31823989
commit
12eb553a3f
2 changed files with 10 additions and 1 deletions
|
@ -65,7 +65,10 @@
|
|||
});
|
||||
conversation.fetchMessages();
|
||||
} else {
|
||||
openConversation(message.get('conversationId'));
|
||||
var conversationId = message.get('conversationId');
|
||||
openConversation(conversationId);
|
||||
var windowId = windowMap.windowIdFrom(conversationId);
|
||||
extension.windows.drawAttention(windowId);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue