Put timestamp of edited message into the job
This commit is contained in:
parent
f6676db4d3
commit
11456d100f
7 changed files with 116 additions and 14 deletions
|
@ -4,5 +4,7 @@
|
|||
import { isEnabled } from '../RemoteConfig';
|
||||
|
||||
export function canEditMessages(): boolean {
|
||||
return isEnabled('desktop.editMessageSend');
|
||||
return (
|
||||
isEnabled('desktop.internalUser') || isEnabled('desktop.editMessageSend')
|
||||
);
|
||||
}
|
||||
|
|
|
@ -212,6 +212,7 @@ export async function sendEditedMessage(
|
|||
conversationId,
|
||||
messageId: targetMessageId,
|
||||
revision: conversation.get('revision'),
|
||||
editedMessageTimestamp: targetSentTimestamp,
|
||||
},
|
||||
async jobToInsert => {
|
||||
log.info(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue