mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 12:08:36 +00:00
Listen for recipient changes in conversations and group updates.
Closes #4079 // FREEBIE
This commit is contained in:
@@ -110,7 +110,7 @@ public abstract class MessageRecord extends DisplayRecord {
|
||||
if (isGroupUpdate() && isOutgoing()) {
|
||||
return emphasisAdded(context.getString(R.string.MessageRecord_updated_group));
|
||||
} else if (isGroupUpdate()) {
|
||||
return emphasisAdded(GroupUtil.getDescription(context, getBody().getBody()));
|
||||
return emphasisAdded(GroupUtil.getDescription(context, getBody().getBody()).toString());
|
||||
} else if (isGroupQuit() && isOutgoing()) {
|
||||
return emphasisAdded(context.getString(R.string.MessageRecord_left_group));
|
||||
} else if (isGroupQuit()) {
|
||||
|
||||
@@ -57,7 +57,7 @@ public class ThreadRecord extends DisplayRecord {
|
||||
if (SmsDatabase.Types.isDecryptInProgressType(type)) {
|
||||
return emphasisAdded(context.getString(R.string.MessageDisplayHelper_decrypting_please_wait));
|
||||
} else if (isGroupUpdate()) {
|
||||
return emphasisAdded(GroupUtil.getDescription(context, getBody().getBody()));
|
||||
return emphasisAdded(GroupUtil.getDescription(context, getBody().getBody()).toString());
|
||||
} else if (isGroupQuit()) {
|
||||
return emphasisAdded(context.getString(R.string.ThreadRecord_left_the_group));
|
||||
} else if (isKeyExchange()) {
|
||||
|
||||
Reference in New Issue
Block a user