From 8e2a4a9f7b2d842ebdc4d56db2a134f004554ae4 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Mon, 5 Sep 2022 01:30:32 +0100 Subject: [PATCH] remove unused method --- src/components/emoji_reactions/emoji_reactions.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/emoji_reactions/emoji_reactions.js b/src/components/emoji_reactions/emoji_reactions.js index 549b9517..06e21f6e 100644 --- a/src/components/emoji_reactions/emoji_reactions.js +++ b/src/components/emoji_reactions/emoji_reactions.js @@ -46,14 +46,6 @@ const EmojiReactions = { reactedWith (emoji) { return this.status.emoji_reactions.find(r => r.name === emoji).me }, - isLocalReaction (emojiUrl) { - if (!emojiUrl) return true - const reacted = this.accountsForEmoji[emojiUrl] - if (reacted.length === 0) { - return true - } - return reacted[0].is_local - }, fetchEmojiReactionsByIfMissing () { const hasNoAccounts = this.status.emoji_reactions.find(r => !r.accounts) if (hasNoAccounts) {