Fix issue #123 - Crash with direct messages and Friendica
This commit is contained in:
parent
a0511a0a79
commit
0ab394c64f
|
@ -123,6 +123,9 @@ public class ConversationAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
||||||
MastodonHelper.loadPPMastodon(imageView, account);
|
MastodonHelper.loadPPMastodon(imageView, account);
|
||||||
holder.binding.participantsList.addView(imageView);
|
holder.binding.participantsList.addView(imageView);
|
||||||
}
|
}
|
||||||
|
if (conversation.last_status == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
//---- SPOILER TEXT -----
|
//---- SPOILER TEXT -----
|
||||||
boolean expand_cw = sharedpreferences.getBoolean(context.getString(R.string.SET_EXPAND_CW), false);
|
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()) {
|
if (conversation.last_status.spoiler_text != null && !conversation.last_status.spoiler_text.trim().isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue