@wireapp/core 39.1.5 → 39.1.6
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.
- package/lib/messagingProtocols/mls/MLSService/MLSService.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/MLSService/MLSService.js +5 -4
- package/lib/messagingProtocols/mls/MLSService/stores/subconversationGroupIdStore/subconversationGroupIdStore.d.ts +8 -13
- package/lib/messagingProtocols/mls/MLSService/stores/subconversationGroupIdStore/subconversationGroupIdStore.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/MLSService/stores/subconversationGroupIdStore/subconversationGroupIdStore.js +23 -23
- package/lib/messagingProtocols/mls/MLSService/stores/subconversationGroupIdStore/subconversationGroupIdStore.test.js +4 -4
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MLSService.d.ts","sourceRoot":"","sources":["../../../../src/messagingProtocols/mls/MLSService/MLSService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,sBAAsB,EAAE,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AAChG,OAAO,EAAC,eAAe,EAAC,MAAM,sDAAsD,CAAC;AACrF,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAIzD,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EACL,eAAe,EAGf,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,0BAA0B,EAC1B,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAC,gBAAgB,EAAsB,MAAM,oBAAoB,CAAC;AAKzE,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAKrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAC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C;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;CAW1G"}
|
|
@@ -187,13 +187,14 @@ class MLSService extends TypedEventEmitter_1.TypedEventEmitter {
|
|
|
187
187
|
* @param conversationId Id of the parent conversation which subconversation we want to leave
|
|
188
188
|
*/
|
|
189
189
|
async leaveConferenceSubconversation(conversationId) {
|
|
190
|
-
const subconversationGroupId =
|
|
190
|
+
const subconversationGroupId = subconversationGroupIdStore_1.subconversationGroupIdStore.getGroupId(conversationId, conversation_1.SUBCONVERSATION_ID.CONFERENCE);
|
|
191
191
|
if (!subconversationGroupId) {
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
194
|
const isSubconversationEstablished = await this.conversationExists(subconversationGroupId);
|
|
195
195
|
if (!isSubconversationEstablished) {
|
|
196
|
-
|
|
196
|
+
// if the subconversation was known by a client but is not established anymore, we can remove it from the store
|
|
197
|
+
return subconversationGroupIdStore_1.subconversationGroupIdStore.removeGroupId(conversationId, conversation_1.SUBCONVERSATION_ID.CONFERENCE);
|
|
197
198
|
}
|
|
198
199
|
try {
|
|
199
200
|
await this.apiClient.api.conversation.deleteSubconversationSelf(conversationId, conversation_1.SUBCONVERSATION_ID.CONFERENCE);
|
|
@@ -207,8 +208,8 @@ class MLSService extends TypedEventEmitter_1.TypedEventEmitter {
|
|
|
207
208
|
}
|
|
208
209
|
async leaveStaleConferenceSubconversations() {
|
|
209
210
|
const conversationIds = subconversationGroupIdStore_1.subconversationGroupIdStore.getAllGroupIdsBySubconversationId(conversation_1.SUBCONVERSATION_ID.CONFERENCE);
|
|
210
|
-
for (const {
|
|
211
|
-
await this.leaveConferenceSubconversation(
|
|
211
|
+
for (const { parentConversationId } of conversationIds) {
|
|
212
|
+
await this.leaveConferenceSubconversation(parentConversationId);
|
|
212
213
|
}
|
|
213
214
|
}
|
|
214
215
|
/**
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { SUBCONVERSATION_ID } from '@wireapp/api-client/lib/conversation';
|
|
2
2
|
import { QualifiedId } from '@wireapp/api-client/lib/user';
|
|
3
|
-
declare function storeGroupId(parentConversation: QualifiedId, subconversation: SUBCONVERSATION_ID, subgroupId: string): void;
|
|
4
|
-
declare function getGroupId(parentConversation: QualifiedId, subconversation: SUBCONVERSATION_ID): string | undefined;
|
|
5
|
-
declare function getAllGroupIdsBySubconversationId(subconversationId: SUBCONVERSATION_ID): {
|
|
6
|
-
subconversationGroupId: string;
|
|
7
|
-
parentConversation: QualifiedId;
|
|
8
|
-
subconversation: string;
|
|
9
|
-
}[];
|
|
10
|
-
declare function removeGroupId(parentConversation: QualifiedId, subconversation: SUBCONVERSATION_ID): void;
|
|
11
3
|
export declare const subconversationGroupIdStore: {
|
|
12
|
-
storeGroupId:
|
|
13
|
-
getGroupId:
|
|
14
|
-
removeGroupId:
|
|
15
|
-
getAllGroupIdsBySubconversationId:
|
|
4
|
+
storeGroupId: (parentConversationId: QualifiedId, subconversationId: SUBCONVERSATION_ID, subconversationGroupId: string) => void;
|
|
5
|
+
getGroupId: (parentConversationId: QualifiedId, subconversationId: SUBCONVERSATION_ID) => string | undefined;
|
|
6
|
+
removeGroupId: (parentConversationId: QualifiedId, subconversationId: SUBCONVERSATION_ID) => void;
|
|
7
|
+
getAllGroupIdsBySubconversationId: (subconversationIdQuery: SUBCONVERSATION_ID) => {
|
|
8
|
+
subconversationGroupId: string;
|
|
9
|
+
parentConversationId: QualifiedId;
|
|
10
|
+
subconversationId: SUBCONVERSATION_ID;
|
|
11
|
+
}[];
|
|
16
12
|
};
|
|
17
|
-
export {};
|
|
18
13
|
//# sourceMappingURL=subconversationGroupIdStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subconversationGroupIdStore.d.ts","sourceRoot":"","sources":["../../../../../../src/messagingProtocols/mls/MLSService/stores/subconversationGroupIdStore/subconversationGroupIdStore.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"subconversationGroupIdStore.d.ts","sourceRoot":"","sources":["../../../../../../src/messagingProtocols/mls/MLSService/stores/subconversationGroupIdStore/subconversationGroupIdStore.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAgEzD,eAAO,MAAM,2BAA2B;yCA3BhB,WAAW,qBACd,kBAAkB,0BACb,MAAM;uCAMU,WAAW,qBAAqB,kBAAkB;0CAc/C,WAAW,qBAAqB,kBAAkB;gEAT5B,kBAAkB;;8BArC3D,WAAW;2BAAqB,kBAAkB;;CAwD3E,CAAC"}
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
exports.subconversationGroupIdStore = void 0;
|
|
22
22
|
const storageKey = 'subconversationGroupIdStore';
|
|
23
|
-
|
|
24
|
-
return `${
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const [parentConversationId,
|
|
23
|
+
const generateSubconversationStoreKey = (parentConversationId, subconversationId) => {
|
|
24
|
+
return `${parentConversationId.id}@${parentConversationId.domain}:${subconversationId}`;
|
|
25
|
+
};
|
|
26
|
+
const parseSubconversationStoreKey = (subconversationStoreKey) => {
|
|
27
|
+
const [parentConversationId, subconversationId] = subconversationStoreKey.split(':');
|
|
28
28
|
const [id, domain] = parentConversationId.split('@');
|
|
29
|
-
return {
|
|
30
|
-
}
|
|
29
|
+
return { parentConversationId: { domain, id }, subconversationId };
|
|
30
|
+
};
|
|
31
31
|
const getCurrentMap = () => {
|
|
32
32
|
const storedEntry = localStorage.getItem(storageKey);
|
|
33
33
|
return storedEntry ? new Map(JSON.parse(storedEntry)) : new Map();
|
|
@@ -42,23 +42,23 @@ const removeItemFromMap = (subconversationId) => {
|
|
|
42
42
|
currentMap.delete(subconversationId);
|
|
43
43
|
localStorage.setItem(storageKey, JSON.stringify(Array.from(currentMap.entries())));
|
|
44
44
|
};
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
addItemToMap(
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
return getCurrentMap().get(
|
|
52
|
-
}
|
|
53
|
-
|
|
45
|
+
const storeGroupId = (parentConversationId, subconversationId, subconversationGroupId) => {
|
|
46
|
+
const subconversationStoreKey = generateSubconversationStoreKey(parentConversationId, subconversationId);
|
|
47
|
+
addItemToMap(subconversationStoreKey, subconversationGroupId);
|
|
48
|
+
};
|
|
49
|
+
const getGroupId = (parentConversationId, subconversationId) => {
|
|
50
|
+
const subconversationStoreKey = generateSubconversationStoreKey(parentConversationId, subconversationId);
|
|
51
|
+
return getCurrentMap().get(subconversationStoreKey);
|
|
52
|
+
};
|
|
53
|
+
const getAllGroupIdsBySubconversationId = (subconversationIdQuery) => {
|
|
54
54
|
return Array.from(getCurrentMap().entries())
|
|
55
|
-
.map(([subconversationId, subconversationGroupId]) => (Object.assign(Object.assign({},
|
|
56
|
-
.filter(({
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
return removeItemFromMap(
|
|
61
|
-
}
|
|
55
|
+
.map(([subconversationId, subconversationGroupId]) => (Object.assign(Object.assign({}, parseSubconversationStoreKey(subconversationId)), { subconversationGroupId })))
|
|
56
|
+
.filter(({ subconversationId }) => subconversationId === subconversationIdQuery);
|
|
57
|
+
};
|
|
58
|
+
const removeGroupId = (parentConversationId, subconversationId) => {
|
|
59
|
+
const subconversationStoreKey = generateSubconversationStoreKey(parentConversationId, subconversationId);
|
|
60
|
+
return removeItemFromMap(subconversationStoreKey);
|
|
61
|
+
};
|
|
62
62
|
exports.subconversationGroupIdStore = {
|
|
63
63
|
storeGroupId,
|
|
64
64
|
getGroupId,
|
|
@@ -58,13 +58,13 @@ describe('subconversationGroupIdMapper', () => {
|
|
|
58
58
|
const result = subconversationGroupIdStore_1.subconversationGroupIdStore.getAllGroupIdsBySubconversationId(conversation_1.SUBCONVERSATION_ID.CONFERENCE);
|
|
59
59
|
expect(result).toEqual([
|
|
60
60
|
{
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
parentConversationId: conversationId,
|
|
62
|
+
subconversationId: subconversation,
|
|
63
63
|
subconversationGroupId: groupId,
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
parentConversationId: conversationId2,
|
|
67
|
+
subconversationId: subconversation2,
|
|
68
68
|
subconversationGroupId: groupId2,
|
|
69
69
|
},
|
|
70
70
|
]);
|
package/package.json
CHANGED