@wireapp/core 39.2.2 → 39.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,8 @@ const getRecipientsForConversation = async ({ apiClient, conversationId, userIds
33
33
  if ((0, util_1.isQualifiedUserClients)(userIds)) {
34
34
  return userIds;
35
35
  }
36
- const recipientIds = userIds && Object.keys(userIds).length > 0
36
+ const hasTargetUsers = userIds && Object.keys(userIds).length > 0;
37
+ const recipientIds = hasTargetUsers
37
38
  ? userIds
38
39
  : await (0, getConversationQualifiedMembers_1.getConversationQualifiedMembers)({ apiClient: apiClient, conversationId });
39
40
  const allClients = await apiClient.api.user.postListClients({ qualified_users: recipientIds });
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "./lib/cryptography/AssetCryptography/crypto.node": "./lib/cryptography/AssetCryptography/crypto.browser.js"
12
12
  },
13
13
  "dependencies": {
14
- "@wireapp/api-client": "^23.1.3",
14
+ "@wireapp/api-client": "^23.2.0",
15
15
  "@wireapp/commons": "^5.0.4",
16
16
  "@wireapp/core-crypto": "0.6.2",
17
17
  "@wireapp/cryptobox": "12.8.0",
@@ -60,6 +60,6 @@
60
60
  "test:coverage": "jest --coverage",
61
61
  "watch": "tsc --watch"
62
62
  },
63
- "version": "39.2.2",
64
- "gitHead": "77cdad84cde2dba660ff6be3fc426a385443384c"
63
+ "version": "39.2.4",
64
+ "gitHead": "1bef113fd111dd092ff64fb8d5f0e12abd42cf5c"
65
65
  }