mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 08:37:29 +00:00
sorta fix #127
This commit is contained in:
parent
8c2a5f9f16
commit
f1902e82e6
@ -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());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user