mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-03 14:40:07 +02:00
Fix issue #123 - Crash with direct messages and Friendica
This commit is contained in:
parent
a0511a0a79
commit
0ab394c64f
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ public class ConversationAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
|||
MastodonHelper.loadPPMastodon(imageView, account);
|
||||
holder.binding.participantsList.addView(imageView);
|
||||
}
|
||||
if (conversation.last_status == null) {
|
||||
return;
|
||||
}
|
||||
//---- SPOILER TEXT -----
|
||||
boolean expand_cw = sharedpreferences.getBoolean(context.getString(R.string.SET_EXPAND_CW), false);
|
||||
if (conversation.last_status.spoiler_text != null && !conversation.last_status.spoiler_text.trim().isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue