Austin Huang
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageThreadFragment.java
|
@ -284,7 +284,8 @@ public class DirectMessageThreadFragment extends Fragment { |
|
|
sendText(null, directItemModel.getItemId(), directItemModel.isLiked()); |
|
|
sendText(null, directItemModel.getItemId(), directItemModel.isLiked()); |
|
|
} |
|
|
} |
|
|
else if (which == 2) { |
|
|
else if (which == 2) { |
|
|
if (String.valueOf(directItemModel.getUserId()).equals(myId)) new ThreadAction().execute("delete", directItemModel.getItemId()); |
|
|
|
|
|
|
|
|
if (directItemModel == null) Toast.makeText(requireContext(), R.string.downloader_unknown_error, Toast.LENGTH_SHORT).show(); |
|
|
|
|
|
else if (String.valueOf(directItemModel.getUserId()).equals(myId)) new ThreadAction().execute("delete", directItemModel.getItemId()); |
|
|
else searchUsername(getUser(directItemModel.getUserId()).getUsername()); |
|
|
else searchUsername(getUser(directItemModel.getUserId()).getUsername()); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|