message: cookie: add a "mute <source>" in tweets' menu
diff: @@ -333,6 +333,9 @@ const postMessagesListeners = {
  TD.mustaches['menus/actions.mustache'] = TD.mustaches['menus/actions.mustache'].replace('{{/chirp}} </ul>', `
  {{/chirp}}
  {{#chirp}}
  + <li class="is-selectable">
  + <a href="#" data-btd-action="mute-source" data-btd-source="{{sourceNoHTML}}">Mute "{{sourceNoHTML}}"</a>
  + </li>
  ${settings.mute_hashtags ? `{{#entities.hashtags}}
  <li class="is-selectable">
  <a href="#" data-btd-action="mute-hashtag" data-btd-hashtag="{{text}}">Mute #{{text}}</a>
  @@ -633,6 +636,13 @@ $('body').on('click', '[data-btd-action="mute-hashtag"]', (ev) => {
  TD.controller.filterManager.addFilter('phrase', `#${hashtag}`);
  });
  +$('body').on('click', '[data-btd-action="mute-source"]', (ev) => {
  + ev.preventDefault();
  + const source = $(ev.target).data('btd-source');
  +
  + TD.controller.filterManager.addFilter('source', source);
  +});
  +
  const defaultTitle = 'TweetDeck';
  const unreadTitle = '[*] TweetDeck';
  const countTitle = count => `[${count}] TweetDeck`;
  