Skip to content

Commit

Permalink
Fix else if for threadMetadata being on avatarUrl after #2572 (#2573)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankka authored Oct 24, 2023
1 parent 7db0f0a commit b6fedfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ protected RequestBody finalizeData()
if (avatar != null)
json.put("avatar_url", avatar);

else if (threadMetadata != null)
if (threadId == null && threadMetadata != null)
{
json.put("thread_name", threadMetadata.getName());
List<ForumTagSnowflake> tags = threadMetadata.getAppliedTags();
Expand Down

0 comments on commit b6fedfc

Please sign in to comment.