mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Move to defined from_recipient_id and to_recipient_id columns on message table.
This commit is contained in:
committed by
Cody Henthorne
parent
d079f85eca
commit
279ad7945e
@@ -102,7 +102,7 @@ public class LongMessageFragment extends FullScreenDialogFragment {
|
||||
if (message.get().getMessageRecord().isOutgoing()) {
|
||||
toolbar.setTitle(getString(R.string.LongMessageActivity_your_message));
|
||||
} else {
|
||||
Recipient recipient = message.get().getMessageRecord().getRecipient();
|
||||
Recipient recipient = message.get().getMessageRecord().getFromRecipient();
|
||||
String name = recipient.getDisplayName(requireContext());
|
||||
|
||||
toolbar.setTitle(getString(R.string.LongMessageActivity_message_from_s, name));
|
||||
@@ -113,8 +113,8 @@ public class LongMessageFragment extends FullScreenDialogFragment {
|
||||
if (message.get().getMessageRecord().isOutgoing()) {
|
||||
bubble = sentBubble.get();
|
||||
colorizerView.setVisibility(View.VISIBLE);
|
||||
colorizerView.setBackground(message.get().getMessageRecord().getRecipient().getChatColors().getChatBubbleMask());
|
||||
bubble.getBackground().setColorFilter(message.get().getMessageRecord().getRecipient().getChatColors().getChatBubbleColorFilter());
|
||||
colorizerView.setBackground(message.get().getMessageRecord().getToRecipient().getChatColors().getChatBubbleMask());
|
||||
bubble.getBackground().setColorFilter(message.get().getMessageRecord().getToRecipient().getChatColors().getChatBubbleColorFilter());
|
||||
bubble.addOnLayoutChangeListener(bubbleLayoutListener);
|
||||
bubbleLayoutListener.onLayoutChange(bubble, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user