remove unused mutation and test for it
This commit is contained in:
parent
aa56147322
commit
cda298c822
3 changed files with 0 additions and 27 deletions
|
@ -83,10 +83,6 @@ const unmuteDomain = (store, domain) => {
|
|||
}
|
||||
|
||||
export const mutations = {
|
||||
setMuted (state, { user: { id }, muted }) {
|
||||
const user = state.usersObject[id]
|
||||
set(user, 'muted', muted)
|
||||
},
|
||||
tagUser (state, { user: { id }, tag }) {
|
||||
const user = state.usersObject[id]
|
||||
const tags = user.tags || []
|
||||
|
|
|
@ -73,15 +73,6 @@ export const parseUser = (data) => {
|
|||
output.background_image = data.pleroma.background_image
|
||||
output.token = data.pleroma.chat_token
|
||||
|
||||
if (relationship && !relationship) {
|
||||
output.follows_you = relationship.followed_by
|
||||
output.requested = relationship.requested
|
||||
output.following = relationship.following
|
||||
output.statusnet_blocking = relationship.blocking
|
||||
output.muted = relationship.muting
|
||||
output.showing_reblogs = relationship.showing_reblogs
|
||||
output.subscribed = relationship.subscribing
|
||||
}
|
||||
if (relationship) {
|
||||
output.relationship = relationship
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue