Fix issue where message sender was impacting bubble color in groups.

This commit is contained in:
Alex Hart
2021-05-26 09:28:55 -03:00
parent fb1b46b67e
commit 23e5da4d95
2 changed files with 5 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ public class QuoteView extends FrameLayout implements RecipientForeverObserver {
}
private void setQuoteAuthor(@NonNull Recipient author) {
boolean outgoing = messageType == MESSAGE_TYPE_OUTGOING;
boolean outgoing = messageType != MESSAGE_TYPE_INCOMING;
authorView.setText(author.isSelf() ? getContext().getString(R.string.QuoteView_you)
: author.getDisplayName(getContext()));