Skip to content

Commit

Permalink
Apparently commenter display names can have trailing spaces, which is…
Browse files Browse the repository at this point in the history
… a problem for text chats
  • Loading branch information
ScrubN committed Dec 9, 2023
1 parent 1d91a9e commit dd5557d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchDownloaderCore/ChatDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private static List<Comment> ConvertComments(CommentVideo video, ChatFormat form
content_offset_seconds = oldComment.contentOffsetSeconds,
commenter = new Commenter
{
display_name = oldComment.commenter.displayName,
display_name = oldComment.commenter.displayName.Trim(),
_id = oldComment.commenter.id,
name = oldComment.commenter.login
}
Expand Down

0 comments on commit dd5557d

Please sign in to comment.