commit
82d6318293
|
|
@ -1,3 +1,6 @@
|
||||||
|
## [2.0.1] 9th Sept 2025
|
||||||
|
- fix: scheduled event list init (td)
|
||||||
|
|
||||||
## [2.0.0] 9th Sept 2025
|
## [2.0.0] 9th Sept 2025
|
||||||
|
|
||||||
There have been some breaking changes to the VoIP codebase. Specifically, you will have to pass your instance of the VoIP class to existing `getCallMemberships*` functions which are an extension on the Room class.
|
There have been some breaking changes to the VoIP codebase. Specifically, you will have to pass your instance of the VoIP class to existing `getCallMemberships*` functions which are an extension on the Room class.
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,11 @@ class ScheduledDelayedEventsResponse {
|
||||||
|
|
||||||
factory ScheduledDelayedEventsResponse.fromJson(Map<String, dynamic> json) {
|
factory ScheduledDelayedEventsResponse.fromJson(Map<String, dynamic> json) {
|
||||||
final list = json['delayed_events'] ?? json['scheduled'] as List;
|
final list = json['delayed_events'] ?? json['scheduled'] as List;
|
||||||
final List<ScheduledDelayedEvent> scheduledEvents =
|
final scheduledEvents =
|
||||||
list.map((e) => ScheduledDelayedEvent.fromJson(e)).toList();
|
list.map((e) => ScheduledDelayedEvent.fromJson(e)).toList();
|
||||||
|
|
||||||
return ScheduledDelayedEventsResponse(
|
return ScheduledDelayedEventsResponse(
|
||||||
scheduledEvents: scheduledEvents,
|
scheduledEvents: List<ScheduledDelayedEvent>.from(scheduledEvents),
|
||||||
nextBatch: json['next_batch'] as String?,
|
nextBatch: json['next_batch'] as String?,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: matrix
|
name: matrix
|
||||||
description: Matrix Dart SDK
|
description: Matrix Dart SDK
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
homepage: https://famedly.com
|
homepage: https://famedly.com
|
||||||
repository: https://github.com/famedly/matrix-dart-sdk.git
|
repository: https://github.com/famedly/matrix-dart-sdk.git
|
||||||
issue_tracker: https://github.com/famedly/matrix-dart-sdk/issues
|
issue_tracker: https://github.com/famedly/matrix-dart-sdk/issues
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue