mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix bug where scheduled messages don't update snippets.
This commit is contained in:
committed by
Clark Chen
parent
628cd3896c
commit
62ece66f36
@@ -166,6 +166,9 @@ public class IndividualSendJob extends PushSendJob {
|
||||
markAttachmentsUploaded(messageId, message);
|
||||
database.markUnidentified(messageId, unidentified);
|
||||
|
||||
// For scheduled messages, which may not have updated the thread with it's snippet yet
|
||||
SignalDatabase.threads().updateSilently(threadId, false);
|
||||
|
||||
if (recipient.isSelf()) {
|
||||
SignalDatabase.messages().incrementDeliveryReceiptCount(message.getSentTimeMillis(), recipient.getId(), System.currentTimeMillis());
|
||||
SignalDatabase.messages().incrementReadReceiptCount(message.getSentTimeMillis(), recipient.getId(), System.currentTimeMillis());
|
||||
|
||||
Reference in New Issue
Block a user