Skip to content

Commit adc0e16

Browse files
authored
quickfix (#1087)
1 parent 835a951 commit adc0e16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ private void sendRSS(JDA jda, RSSFeed feedConfig) {
145145

146146
final Optional<Predicate<Item>> shouldItemBePosted =
147147
prepareItemPostPredicate(feedConfig, rssItems);
148-
if (shouldItemBePosted.isEmpty())
148+
if (shouldItemBePosted.isEmpty()) {
149149
return;
150+
}
150151
rssItems.reversed()
151152
.stream()
152153
.filter(shouldItemBePosted.get())

0 commit comments

Comments
 (0)