feat(Message): add 'failIfNotExists' to ClientOptions (#6038)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
PanSzelescik
2021-07-05 13:53:40 +01:00
committed by GitHub
parent 31d31293d3
commit 28c57246d1
5 changed files with 8 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ class MessagePayload {
if (message_id) {
message_reference = {
message_id,
fail_if_not_exists: this.options.reply.failIfNotExists ?? true,
fail_if_not_exists: this.options.reply.failIfNotExists ?? this.target.client.options.failIfNotExists,
};
}
}