Merge branch 'td/sdpUpdatesp2pCalls' into 'main'

fix: filter list for adding p2p call events

See merge request famedly/company/frontend/famedlysdk!1158
This commit is contained in:
Nicolas Werner 2022-10-31 11:50:37 +00:00
commit b1c63c0929
4 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,11 @@
## [0.15.0] - 28th Oct 2022
- chore: reduce error logging level of groupCall is null (td)
- fix: filter list for adding p2p call events (td)
- refactor: Remove deprecated fluffybox (Christian Pauly)
- chore: Lower logs level of native implementation noSuchMethod (Christian Pauly)
- fix: Redact originalSource on redaction (Christian Pauly)
- fix: Do not try to decrypt redacted events (Christian Pauly)
## [0.14.4] - 26th Oct 2022
- fix: Do not wait for first sync after migration init

View File

@ -1981,8 +1981,12 @@ class Client extends MatrixApi {
if (prevBatch != null &&
(type == EventUpdateType.timeline ||
type == EventUpdateType.decryptedTimelineQueue)) {
if (update.content.tryGet<String>('type')?.startsWith('m.call.') ??
false) {
if ((update.content.tryGet<String>('type')?.startsWith('m.call.') ??
false) ||
(update.content
.tryGet<String>('type')
?.startsWith('org.matrix.call.') ??
false)) {
final callEvent = Event.fromJson(update.content, room);
final callId = callEvent.content.tryGet<String>('call_id');
callEvents.add(callEvent);

View File

@ -89,7 +89,7 @@ class VoIP {
final confId = event.content['conf_id'];
final groupCall = groupCalls[confId];
if (groupCall == null) {
Logs().e('[VOIP] onToDeviceEvent: groupCall is null.');
Logs().d('[VOIP] onToDeviceEvent: groupCall is null.');
return;
}
final roomId = groupCall.room.id;

View File

@ -1,6 +1,6 @@
name: matrix
description: Matrix Dart SDK
version: 0.14.4
version: 0.15.0
homepage: https://famedly.com
repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git