Skip to content

Commit af09be2

Browse files
authored
Merge pull request libre-tube#7246 from FineFindus/fix/local-channel-owner
fix(Local): set channelOwner for Comments
2 parents aaa03b7 + 7c808f3 commit af09be2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/com/github/libretube/api/NewPipeMediaServiceRepository.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ fun CommentsInfoItem.toComment() = Comment(
196196
verified = isUploaderVerified,
197197
replyCount = replyCount.toLong(),
198198
repliesPage = replies?.toNextPageString(),
199-
thumbnail = thumbnails.maxByOrNull { it.height }?.url.orEmpty()
199+
thumbnail = thumbnails.maxByOrNull { it.height }?.url.orEmpty(),
200+
channelOwner = isChannelOwner
200201
)
201202

202203
// the following classes are necessary because kotlinx can't deserialize

0 commit comments

Comments
 (0)