Reaction Send: Include current conversation timer
This commit is contained in:
parent
17f212ffcf
commit
2852b0b92c
1 changed files with 5 additions and 3 deletions
|
@ -1037,6 +1037,8 @@
|
||||||
async sendReactionMessage(reaction, target) {
|
async sendReactionMessage(reaction, target) {
|
||||||
const timestamp = Date.now();
|
const timestamp = Date.now();
|
||||||
const outgoingReaction = { ...reaction, ...target };
|
const outgoingReaction = { ...reaction, ...target };
|
||||||
|
const expireTimer = this.get('expireTimer');
|
||||||
|
|
||||||
const reactionModel = Whisper.Reactions.add({
|
const reactionModel = Whisper.Reactions.add({
|
||||||
...outgoingReaction,
|
...outgoingReaction,
|
||||||
fromId:
|
fromId:
|
||||||
|
@ -1099,7 +1101,7 @@
|
||||||
null,
|
null,
|
||||||
outgoingReaction,
|
outgoingReaction,
|
||||||
timestamp,
|
timestamp,
|
||||||
null,
|
expireTimer,
|
||||||
profileKey
|
profileKey
|
||||||
);
|
);
|
||||||
return message.sendSyncMessageOnly(dataMessage);
|
return message.sendSyncMessageOnly(dataMessage);
|
||||||
|
@ -1118,7 +1120,7 @@
|
||||||
null,
|
null,
|
||||||
outgoingReaction,
|
outgoingReaction,
|
||||||
timestamp,
|
timestamp,
|
||||||
null,
|
expireTimer,
|
||||||
profileKey,
|
profileKey,
|
||||||
options
|
options
|
||||||
);
|
);
|
||||||
|
@ -1134,7 +1136,7 @@
|
||||||
null,
|
null,
|
||||||
outgoingReaction,
|
outgoingReaction,
|
||||||
timestamp,
|
timestamp,
|
||||||
null,
|
expireTimer,
|
||||||
profileKey,
|
profileKey,
|
||||||
options
|
options
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue