Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unsupported message statuses from nodejs #514

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions agents/node/vcxagent-core/src/utils/messages.js
Expand Up @@ -28,10 +28,10 @@ async function parseDownloadMessagesResult (msgs) {

module.exports.getMessagesForConnection = async function getMessagesForConnection (
connection,
filterStatuses = ['MS-102', 'MS-103', 'MS-104', 'MS-105', 'MS-106'],
filterStatuses = ['MS-103', 'MS-106'],
filterUids = []
) {
filterStatuses = filterStatuses || ['MS-102', 'MS-103', 'MS-104', 'MS-105', 'MS-106'] // explicit null or undefined interpreted as "no filter"
filterStatuses = filterStatuses || ['MS-103', 'MS-106'] // explicit null or undefined interpreted as "no filter"
const downloadInstructions = {
status: await maybeJoinWithComma(filterStatuses),
uids: await maybeJoinWithComma(filterUids)
Expand Down