remove unused method
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
301a32991b
commit
8e2a4a9f7b
1 changed files with 0 additions and 8 deletions
|
@ -46,14 +46,6 @@ const EmojiReactions = {
|
||||||
reactedWith (emoji) {
|
reactedWith (emoji) {
|
||||||
return this.status.emoji_reactions.find(r => r.name === emoji).me
|
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 () {
|
fetchEmojiReactionsByIfMissing () {
|
||||||
const hasNoAccounts = this.status.emoji_reactions.find(r => !r.accounts)
|
const hasNoAccounts = this.status.emoji_reactions.find(r => !r.accounts)
|
||||||
if (hasNoAccounts) {
|
if (hasNoAccounts) {
|
||||||
|
|
Loading…
Reference in a new issue