mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 11:15:44 +00:00
Fix crash after replying to a group story.
This commit is contained in:
committed by
Greyson Parrelli
parent
9aa7543f2f
commit
c239ba1e35
@@ -159,6 +159,12 @@ public class ConversationDataSource implements PagedDataSource<MessageId, Conver
|
||||
MessageDatabase database = messageId.isMms() ? SignalDatabase.mms() : SignalDatabase.sms();
|
||||
MessageRecord record = database.getMessageRecordOrNull(messageId.getId());
|
||||
|
||||
if (record instanceof MediaMmsMessageRecord &&
|
||||
((MediaMmsMessageRecord) record).getParentStoryId() != null &&
|
||||
((MediaMmsMessageRecord) record).getParentStoryId().isGroupReply()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
stopwatch.split("message");
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user