Merge branch 'release/v0.20.1' into 'main'
chore: bump version to 0.20.1 See merge request famedly/company/frontend/famedlysdk!1285
This commit is contained in:
commit
684b8bd302
|
|
@ -1,3 +1,12 @@
|
||||||
|
## [0.20.1] - 5th May 2023
|
||||||
|
- fix: cast issues in getEventList (td)
|
||||||
|
- refactor: Make parameters more clear and remove unused methods (Krille)
|
||||||
|
- fix: Only request users which are valid mxid (Krille)
|
||||||
|
- fix: Always wait for account data to load before returning SSSS status (Nicolas Werner)
|
||||||
|
- fix: Reactions are sent encrypted (Krille)
|
||||||
|
- chore: oneShotSync before staleCallChecker (td)
|
||||||
|
- fix: updateMuteStatus after kConnected (td)
|
||||||
|
|
||||||
## [0.20.0] - 28th April 2023
|
## [0.20.0] - 28th April 2023
|
||||||
|
|
||||||
- refactor: Make optional eventId a named parameter (Krille)
|
- refactor: Make optional eventId a named parameter (Krille)
|
||||||
|
|
|
||||||
|
|
@ -402,13 +402,12 @@ class HiveCollectionsDatabase extends DatabaseApi {
|
||||||
// Combine those two lists while respecting the start and limit parameters.
|
// Combine those two lists while respecting the start and limit parameters.
|
||||||
final end = min(timelineEventIds.length,
|
final end = min(timelineEventIds.length,
|
||||||
start + (limit ?? timelineEventIds.length));
|
start + (limit ?? timelineEventIds.length));
|
||||||
final eventIds = <String>[
|
final eventIds = List<String>.from([
|
||||||
...sendingEventIds,
|
...sendingEventIds,
|
||||||
...(start < timelineEventIds.length && !onlySending
|
...(start < timelineEventIds.length && !onlySending
|
||||||
? timelineEventIds.getRange(start, end).toList()
|
? timelineEventIds.getRange(start, end).toList()
|
||||||
: [])
|
: [])
|
||||||
.whereType<String>()
|
]);
|
||||||
];
|
|
||||||
|
|
||||||
return await _getEventsByIds(eventIds, room);
|
return await _getEventsByIds(eventIds, room);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -408,12 +408,16 @@ class FamedlySdkHiveDatabase extends DatabaseApi {
|
||||||
// Combine those two lists while respecting the start and limit parameters.
|
// Combine those two lists while respecting the start and limit parameters.
|
||||||
final end = min(timelineEventIds.length,
|
final end = min(timelineEventIds.length,
|
||||||
start + (limit ?? timelineEventIds.length));
|
start + (limit ?? timelineEventIds.length));
|
||||||
final eventIds = sendingEventIds +
|
final eventIds = List<String>.from(
|
||||||
(start < timelineEventIds.length && !onlySending
|
[
|
||||||
|
...sendingEventIds,
|
||||||
|
...(start < timelineEventIds.length && !onlySending
|
||||||
? timelineEventIds.getRange(start, end).toList()
|
? timelineEventIds.getRange(start, end).toList()
|
||||||
: []);
|
: [])
|
||||||
|
],
|
||||||
|
);
|
||||||
|
|
||||||
return await _getEventsByIds(eventIds.cast<String>(), room);
|
return await _getEventsByIds(eventIds, room);
|
||||||
});
|
});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: matrix
|
name: matrix
|
||||||
description: Matrix Dart SDK
|
description: Matrix Dart SDK
|
||||||
version: 0.20.0
|
version: 0.20.1
|
||||||
homepage: https://famedly.com
|
homepage: https://famedly.com
|
||||||
repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git
|
repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue