This commit is contained in:
kosyak 2024-05-22 21:34:30 +02:00
parent bb95bdf541
commit 6891471ce8

View file

@ -1588,11 +1588,13 @@ public class ConversationFragment extends XmppFragment
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message);
binding.contextPreviewImage.setVisibility(View.GONE);
binding.contextPreviewDoc.setVisibility(View.GONE);
binding.contextPreviewAudio.setVisibility(View.GONE);
body.append(" 🖼️");
} else {
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message);
binding.contextPreviewImage.setVisibility(View.GONE);
binding.contextPreviewDoc.setVisibility(View.GONE);
binding.contextPreviewAudio.setVisibility(View.GONE);
}
binding.contextPreviewText.setText(body);
binding.contextPreviewAuthor.setText(message.getAvatarName());