mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 02:36:55 +00:00
Fix issue where story thumb could show as a chat image preview.
This commit is contained in:
@@ -642,7 +642,10 @@ public class AttachmentTable extends DatabaseTable {
|
||||
dataInfo.file.delete();
|
||||
} else {
|
||||
long threadId = SignalDatabase.mms().getThreadIdForMessage(mmsId);
|
||||
SignalDatabase.threads().updateSnippetUriSilently(threadId, PartAuthority.getAttachmentDataUri(attachmentId));
|
||||
|
||||
if (!SignalDatabase.mms().isStory(mmsId)) {
|
||||
SignalDatabase.threads().updateSnippetUriSilently(threadId, PartAuthority.getAttachmentDataUri(attachmentId));
|
||||
}
|
||||
|
||||
notifyConversationListeners(threadId);
|
||||
notifyConversationListListeners();
|
||||
|
||||
Reference in New Issue
Block a user