This commit is contained in:
Mariotaku Lee 2017-04-04 12:44:50 +08:00
parent add7cf309d
commit 26093da6df
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,7 @@ class StreamingService : BaseService() {
}
val parcelableStatus = ParcelableStatusUtils.fromStatus(status, account.key,
account.type, homeInsertGap, profileImageSize)
parcelableStatus.account_color = account.color
val currentTimeMillis = System.currentTimeMillis()
if (lastStatusTimestamps[0] >= parcelableStatus.timestamp) {
@ -313,6 +314,7 @@ class StreamingService : BaseService() {
}
val curActivity = ParcelableActivityUtils.fromActivity(activity, account.key,
account.type, insertGap, profileImageSize)
curActivity.account_color = account.color
curActivity.position_key = curActivity.timestamp
var updateId = -1L
if (curActivity.action !in Activity.Action.MENTION_ACTIONS) {