Fix crash after replying to a group story.
This commit is contained in:
parent
9aa7543f2f
commit
c239ba1e35
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue