Skip to content

Commit

Permalink
Actually fix #726
Browse files Browse the repository at this point in the history
  • Loading branch information
lay295 committed Jun 1, 2023
1 parent d96e941 commit 2e5dd96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TwitchDownloaderCore/ChatDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ private static List<Comment> ConvertComments(CommentVideo video)
List<UserBadge> badges = new List<UserBadge>();
foreach (var badge in oldComment.message.userBadges)
{
if (String.IsNullOrEmpty(badge.setID) && String.IsNullOrEmpty(badge.version))
continue;

UserBadge newBadge = new UserBadge();
newBadge._id = badge.setID;
newBadge.version = badge.version;
Expand Down

0 comments on commit 2e5dd96

Please sign in to comment.