Fixed default list in missing command.

This commit is contained in:
Christian P. MOMON 2019-05-03 14:51:17 +02:00
parent ddddfd55bc
commit 8c5b3486ab

View File

@ -64,10 +64,7 @@ public class MissingHook extends Hook
else
{
StringSet participants = bot.getReview().getParticipants();
if (participants.isEmpty())
{
participants.add(bot.getReview().getOwner());
}
participants.add(bot.getReview().getOwner());
StringSet currentParticipants = topic.getParticipants();
Collection<String> missing = CollectionUtils.subtract(participants, currentParticipants);