Fixed default list in missing command.
This commit is contained in:
parent
ddddfd55bc
commit
8c5b3486ab
@ -64,10 +64,7 @@ public class MissingHook extends Hook
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
StringSet participants = bot.getReview().getParticipants();
|
StringSet participants = bot.getReview().getParticipants();
|
||||||
if (participants.isEmpty())
|
participants.add(bot.getReview().getOwner());
|
||||||
{
|
|
||||||
participants.add(bot.getReview().getOwner());
|
|
||||||
}
|
|
||||||
StringSet currentParticipants = topic.getParticipants();
|
StringSet currentParticipants = topic.getParticipants();
|
||||||
|
|
||||||
Collection<String> missing = CollectionUtils.subtract(participants, currentParticipants);
|
Collection<String> missing = CollectionUtils.subtract(participants, currentParticipants);
|
||||||
|
Loading…
Reference in New Issue
Block a user