@wireapp/core 46.23.7-hotfix-1.1 → 46.23.7-hotfix-1.2.1

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.
@@ -53,6 +53,8 @@ class SubconversationService extends commons_1.TypedEventEmitter {
53
53
  async joinConferenceSubconversation(conversationId, groupId, shouldRetry = true) {
54
54
  try {
55
55
  const { group_id: subconversationGroupId, epoch: subconversationEpoch, epoch_timestamp: subconversationEpochTimestamp, subconv_id: subconversationId, } = await this.getConferenceSubconversation(conversationId);
56
+ // We store the mapping between the subconversation and the parent conversation
57
+ await this.saveSubconversationGroupId(conversationId, subconversationId, subconversationGroupId);
56
58
  if (subconversationEpoch === 0) {
57
59
  const doesConversationExistsLocally = await this.mlsService.conversationExists(subconversationGroupId);
58
60
  if (doesConversationExistsLocally) {
@@ -76,8 +78,6 @@ class SubconversationService extends commons_1.TypedEventEmitter {
76
78
  await this.joinSubconversationByExternalCommit(conversationId, conversation_1.SUBCONVERSATION_ID.CONFERENCE);
77
79
  }
78
80
  const epoch = Number(await this.mlsService.getEpoch(subconversationGroupId));
79
- // We store the mapping between the subconversation and the parent conversation
80
- await this.saveSubconversationGroupId(conversationId, subconversationId, subconversationGroupId);
81
81
  return { groupId: subconversationGroupId, epoch };
82
82
  }
83
83
  catch (error) {
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": "^27.51.0-hotfix-1.1",
14
+ "@wireapp/api-client": "27.51.0-hotfix-1.1",
15
15
  "@wireapp/commons": "^5.4.2",
16
16
  "@wireapp/core-crypto": "3.1.1",
17
17
  "@wireapp/cryptobox": "12.8.0",
@@ -61,6 +61,6 @@
61
61
  "test:coverage": "jest --coverage",
62
62
  "watch": "tsc --watch"
63
63
  },
64
- "version": "46.23.7-hotfix-1.1",
65
- "gitHead": "51775add763c49fa299c62036c8713848c9b1450"
64
+ "version": "46.23.7-hotfix-1.2.1",
65
+ "gitHead": "3471cfc6c6c6fcd360135d2674cf169df61f7819"
66
66
  }