Adjust story replies for direct conversations

This commit is contained in:
Josh Perez 2022-05-10 15:02:21 -04:00 committed by GitHub
parent fa7b7fcd08
commit 0ca66d6e95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 490 additions and 131 deletions

View file

@ -2869,8 +2869,9 @@ export async function startApp(): Promise<void> {
source: ReactionSource.FromSomeoneElse,
};
const reactionModel = Reactions.getSingleton().add(attributes);
// Note: We do not wait for completion here
Reactions.getSingleton().onReaction(reactionModel);
Reactions.getSingleton().onReaction(reactionModel, message);
confirm();
return Promise.resolve();
}
@ -3237,7 +3238,7 @@ export async function startApp(): Promise<void> {
};
const reactionModel = Reactions.getSingleton().add(attributes);
// Note: We do not wait for completion here
Reactions.getSingleton().onReaction(reactionModel);
Reactions.getSingleton().onReaction(reactionModel, message);
event.confirm();
return Promise.resolve();