mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +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,
|
||||
replyCount = replyCount.toLong(),
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user