Fix generation of reaction ids

This commit is contained in:
Fedor Indutny 2022-03-02 15:39:51 -08:00 committed by GitHub
parent 3b4106d9dd
commit 8cc3605637
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ export async function sendReaction(
}; };
const ephemeralMessageForReactionSend = new window.Whisper.Message({ const ephemeralMessageForReactionSend = new window.Whisper.Message({
id: UUID.generate.toString(), id: UUID.generate().toString(),
type: 'outgoing', type: 'outgoing',
conversationId: conversation.get('id'), conversationId: conversation.get('id'),
sent_at: pendingReaction.timestamp, sent_at: pendingReaction.timestamp,