[mastodon-client] TODO/FIXME cleanup
This commit is contained in:
parent
69d1c9746a
commit
a9ae14431d
1 changed files with 3 additions and 3 deletions
|
@ -134,8 +134,8 @@ namespace MisskeyAPI {
|
||||||
url: acctUrl,
|
url: acctUrl,
|
||||||
avatar: u.avatarUrl,
|
avatar: u.avatarUrl,
|
||||||
avatar_static: u.avatarUrl,
|
avatar_static: u.avatarUrl,
|
||||||
header: this.plcUrl, // FIXME
|
header: this.plcUrl,
|
||||||
header_static: this.plcUrl, // FIXME
|
header_static: this.plcUrl,
|
||||||
emojis: u.emojis.map(e => this.emoji(e)),
|
emojis: u.emojis.map(e => this.emoji(e)),
|
||||||
moved: null,
|
moved: null,
|
||||||
fields: [],
|
fields: [],
|
||||||
|
@ -308,7 +308,7 @@ namespace MisskeyAPI {
|
||||||
emojis: n.emojis.map(e => this.emoji(e)),
|
emojis: n.emojis.map(e => this.emoji(e)),
|
||||||
replies_count: n.repliesCount,
|
replies_count: n.repliesCount,
|
||||||
reblogs_count: n.renoteCount,
|
reblogs_count: n.renoteCount,
|
||||||
favourites_count: this.getTotalReactions(n.reactions), // FIXME: instead get # of default reaction emoji reactions
|
favourites_count: this.getTotalReactions(n.reactions),
|
||||||
reblogged: false,
|
reblogged: false,
|
||||||
favourited: !!n.myReaction,
|
favourited: !!n.myReaction,
|
||||||
muted: false,
|
muted: false,
|
||||||
|
|
Loading…
Reference in a new issue