mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
fix(Local): set channelOwner for Comments
Fixes a parity issue, between Piped and the local mode, where the local mode would now mark the channelOwner's comments, due the `channelOwner` not being set.
This commit is contained in:
parent
c28fee67e4
commit
7c808f3697
@ -195,7 +195,8 @@ fun CommentsInfoItem.toComment() = Comment(
|
|||||||
verified = isUploaderVerified,
|
verified = isUploaderVerified,
|
||||||
replyCount = replyCount.toLong(),
|
replyCount = replyCount.toLong(),
|
||||||
repliesPage = replies?.toNextPageString(),
|
repliesPage = replies?.toNextPageString(),
|
||||||
thumbnail = thumbnails.maxByOrNull { it.height }?.url.orEmpty()
|
thumbnail = thumbnails.maxByOrNull { it.height }?.url.orEmpty(),
|
||||||
|
channelOwner = isChannelOwner
|
||||||
)
|
)
|
||||||
|
|
||||||
// the following classes are necessary because kotlinx can't deserialize
|
// the following classes are necessary because kotlinx can't deserialize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user