diff --git a/bin/nodejs/callback.h b/bin/nodejs/callback.h index 480a7c88f..c29cfb71a 100644 --- a/bin/nodejs/callback.h +++ b/bin/nodejs/callback.h @@ -576,7 +576,7 @@ void conversationRequestDeclined(const std::string& accountId, const std::string& conversationId) { std::lock_guard lock(pendingSignalsLock); - pendingSignals.emplace([accountId, conversationId, message]() { + pendingSignals.emplace([accountId, conversationId]() { Local func = Local::New(Isolate::GetCurrent(), conversationRequestDeclinedCb); if (!func.IsEmpty()) { SWIGV8_VALUE callback_args[] = {