Weird if condition
AleTopp opened this issue · 3 comments
AleTopp commented
Hello,
I was exploring how Unigram uploads files and found this if condition I think it's wrong (or there is something I do not understand below):
and by the context I think it should be:
if (permissions.CanSendPhotos && permissions.CanSendVideos)
By the Git Blame I see @FrayxRulez is the one who made the commit.
Sorry to disturb in case this wasn't necessary.
FrayxRulez commented
@AleTopp @FrayxRulez is also the only one to commit in this repository.
FrayxRulez commented
@AleTopp But yes, it’s correct. Thank you for pointing out.
FrayxRulez commented
Fixed in 12b5e31