Fix bot icon indicator again (#1249)
* fix handling of bot indicator in timeline * write bot status into db cache * remove log
This commit is contained in:
parent
5fb566f818
commit
40d3eb8759
7 changed files with 46 additions and 37 deletions
|
|
@ -296,7 +296,8 @@ fun Account.toEntity(accountId: Long, gson: Gson): TimelineAccountEntity {
|
|||
displayName = displayName,
|
||||
url = url,
|
||||
avatar = avatar,
|
||||
emojis = gson.toJson(emojis)
|
||||
emojis = gson.toJson(emojis),
|
||||
bot = bot
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -315,7 +316,7 @@ fun TimelineAccountEntity.toAccount(gson: Gson): Account {
|
|||
followersCount = 0,
|
||||
statusesCount = 0,
|
||||
source = null,
|
||||
bot = false,
|
||||
bot = bot,
|
||||
emojis = gson.fromJson(this.emojis, emojisListTypeToken.type),
|
||||
fields = null,
|
||||
moved = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue