This commit is contained in:
Henry Jameson 2025-07-17 16:13:35 +03:00
commit 6ae52e192b
4 changed files with 0 additions and 4 deletions

View file

@ -254,7 +254,6 @@ const getNodeInfo = async ({ store }) => {
const data = await res.json()
const metadata = data.metadata
const features = metadata.features
console.log(features)
store.dispatch('setInstanceOption', { name: 'name', value: metadata.nodeName })
store.dispatch('setInstanceOption', { name: 'registrationOpen', value: data.openRegistrations })
store.dispatch('setInstanceOption', { name: 'mediaProxyAvailable', value: features.includes('media_proxy') })

View file

@ -31,7 +31,6 @@ const BlockCard = {
},
methods: {
unblockUser () {
this.progress = true
this.$store.dispatch('unblockUser', this.user.id)
},
blockUser () {

View file

@ -28,7 +28,6 @@ const MuteCard = {
},
methods: {
unmuteUser () {
this.progress = true
this.$store.dispatch('unmuteUser', this.userId)
},
muteUser () {

View file

@ -53,7 +53,6 @@ const blockUser = (store, args) => {
return store.rootState.api.backendInteractor.blockUser({ id, expiresIn })
.then((relationship) => {
console.log(relationship)
store.commit('updateUserRelationship', [relationship])
store.commit('addBlockId', id)