Skip to content

Commit

Permalink
Ignore reaction emote counts
Browse files Browse the repository at this point in the history
  • Loading branch information
reconman committed May 3, 2018
1 parent a528067 commit c7d57f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { shell } from 'electron';

module.exports = (Franz) => {
const getMessages = function getMessages() {
const count = document.querySelectorAll('.counter').length;
const count = document.querySelectorAll('swx-unread-message-counter>.counter').length;

// set Franz badge
Franz.setBadge(count);
Expand Down

0 comments on commit c7d57f7

Please sign in to comment.