Merge pull request #1086 from LegendaryZer0/patch-1

This commit is contained in:
Ruben Bermudez 2022-06-16 21:40:02 +02:00 committed by GitHub
commit ab29b41872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ As an example, if you want to restrict the updates to photos only, then you may
```java ```java
@Override @Override
public boolean checkGlobalFlags(Update update) { public boolean checkGlobalFlags(Update update) {
return Flag.PHOTO; return Flag.PHOTO.test(update);
} }
``` ```