Skip to content

Commit

Permalink
tg you are such wow
Browse files Browse the repository at this point in the history
Signed-off-by: nift4 <nift4@protonmail.com>
  • Loading branch information
nift4 committed Feb 13, 2022
1 parent eb0d353 commit b02242b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1107,11 +1107,11 @@ public static String fixFileName(String fileName) {
}

public static String getDocumentFileName(TLRPC.Document document) {
if (document.file_name_fixed != null) {
return document.file_name_fixed;
}
String fileName = null;
if (document != null) {
if (document.file_name_fixed != null) {
return document.file_name_fixed;
}
if (document.file_name != null) {
fileName = document.file_name;
} else {
Expand Down

0 comments on commit b02242b

Please sign in to comment.