remove pinned timeline, instead, use simple entity of user object
This commit is contained in:
parent
9e22d6212a
commit
cd0a7afa06
8 changed files with 36 additions and 23 deletions
|
@ -106,6 +106,7 @@ const backendInteractorService = (credentials) => {
|
|||
const fetchFollowRequests = () => apiService.fetchFollowRequests({credentials})
|
||||
const fetchOAuthTokens = () => apiService.fetchOAuthTokens({credentials})
|
||||
const revokeOAuthToken = (id) => apiService.revokeOAuthToken({id, credentials})
|
||||
const fetchPinnedStatuses = (id) => apiService.fetchPinnedStatuses({ id, credentials })
|
||||
|
||||
const getCaptcha = () => apiService.getCaptcha()
|
||||
const register = (params) => apiService.register(params)
|
||||
|
@ -154,6 +155,7 @@ const backendInteractorService = (credentials) => {
|
|||
fetchBlocks,
|
||||
fetchOAuthTokens,
|
||||
revokeOAuthToken,
|
||||
fetchPinnedStatuses,
|
||||
tagUser,
|
||||
untagUser,
|
||||
addRight,
|
||||
|
|
|
@ -131,6 +131,8 @@ export const parseUser = (data) => {
|
|||
output.statuses_count = data.statuses_count
|
||||
output.friendIds = []
|
||||
output.followerIds = []
|
||||
output.pinnedStatusIds = []
|
||||
|
||||
if (data.pleroma) {
|
||||
output.follow_request_count = data.pleroma.follow_request_count
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue