This commit is contained in:
j3d1 2023-05-14 00:55:57 +02:00
parent b4ea1d8df2
commit c14762e20b
2 changed files with 75 additions and 8 deletions

View file

@ -203,6 +203,16 @@ export default createStore({
})
console.log('ext_reply', ext_reply)
return true;
},
async acceptFriend({state, dispatch}, args) {
console.log('accepting friend ' + args)
},
async declineFriend({state, dispatch}, args) {
console.log('declining friend ' + args)
},
async fetchFriendRequests({state, dispatch}) {
const requests = await dispatch('apiLocalGet', {target: '/api/friendrequests/'})
return requests
}
},
getters: {