|
@@ -92,9 +92,7 @@ export class OlmAdapter extends Listenable {
|
92
|
92
|
const localParticipantId = this._conf.myUserId();
|
93
|
93
|
|
94
|
94
|
for (const participant of this._conf.getParticipants()) {
|
95
|
|
- const participantFeatures = await participant.getFeatures();
|
96
|
|
-
|
97
|
|
- if (participantFeatures.has(FEATURE_E2EE) && localParticipantId < participant.getId()) {
|
|
95
|
+ if (participant.hasFeature(FEATURE_E2EE) && localParticipantId < participant.getId()) {
|
98
|
96
|
promises.push(this._sendSessionInit(participant));
|
99
|
97
|
}
|
100
|
98
|
}
|