Message Send Log: Increase retention length

This commit is contained in:
Scott Nonnenberg 2021-08-05 17:17:23 -07:00 committed by GitHub
parent 12d2b1bf7c
commit 5069f48cf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 11 deletions

View file

@ -1203,7 +1203,10 @@ export class ConversationModel extends window.Backbone
const { ContentHint } = Proto.UnidentifiedSenderMessage.Message;
const sendOptions = await getSendOptions(this.attributes);
const sendOptions = {
...(await getSendOptions(this.attributes)),
online: true,
};
if (isDirectConversation(this.attributes)) {
handleMessageSend(
window.textsecure.messaging.sendMessageProtoAndWait({
@ -1212,10 +1215,7 @@ export class ConversationModel extends window.Backbone
proto: contentMessage,
contentHint: ContentHint.IMPLICIT,
groupId: undefined,
options: {
...sendOptions,
online: true,
},
options: sendOptions,
}),
{ messageIds: [], sendType: 'typing' }
);