mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Improve group update copy and implement speaker indexing.
This commit is contained in:
committed by
Alex Hart
parent
ce68da1613
commit
a640d9e298
@@ -31,6 +31,7 @@ import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.TransactionTooLargeException;
|
||||
import android.service.notification.StatusBarNotification;
|
||||
import android.text.SpannableString;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.text.TextUtils;
|
||||
|
||||
@@ -607,6 +608,9 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
||||
body = ThreadBodyUtil.getFormattedBodyFor(context, record);
|
||||
slideDeck = ((MmsMessageRecord) record).getSlideDeck();
|
||||
canReply = true;
|
||||
} else if (record.isGroupCall()) {
|
||||
body = new SpannableString(MessageRecord.getGroupCallUpdateDescription(context, record.getBody(), false).getString());
|
||||
canReply = false;
|
||||
} else {
|
||||
canReply = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user