hook up profile lock/bot icons
This commit is contained in:
parent
77665702b7
commit
d8efaccb30
3 changed files with 30 additions and 6 deletions
|
@ -33,6 +33,8 @@ export function parseAccount(data) {
|
|||
account.following_count = data.following_count;
|
||||
account.posts_count = data.statuses_count;
|
||||
account.bio = data.note;
|
||||
account.bot = data.bot;
|
||||
account.locked = data.locked;
|
||||
|
||||
if (data.acct.includes('@'))
|
||||
account.host = data.acct.split('@')[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue