Skip to content

Commit

Permalink
Fix recursive json object created in mention parsing (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment committed Nov 16, 2022
1 parent 3e37938 commit 7d6775c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -57,7 +57,7 @@ public MessageMentionsImpl(JDAImpl jda, GuildImpl guild, String content,
}

DataObject member = obj.getObject("member");
obj.remove("user");
obj.remove("member");
member.put("user", obj).put("is_member", true);
this.userMentionMap.put(obj.getUnsignedLong("id"), member);
});
Expand Down

0 comments on commit 7d6775c

Please sign in to comment.