Merge branch 'main' into krille/store-presences
This commit is contained in:
commit
0b3542730d
12
CHANGELOG.md
12
CHANGELOG.md
|
|
@ -1,3 +1,15 @@
|
||||||
|
## [0.22.7] - 16 November 2023
|
||||||
|
- chore: incrementally add left rooms to archive (The one with the braid)
|
||||||
|
- chore: remove archived room on forget (#2) (Clemens-Toegel)
|
||||||
|
- chore: store states to archived rooms (#1) (Clemens-Toegel)
|
||||||
|
- chore: upgrade lints (Nicolas Werner)
|
||||||
|
- chore: use our custom reusable workflow to avoid manually configuring each publish job (td)
|
||||||
|
- fix: Code style (The one with the braid)
|
||||||
|
- fix: call hangup on timeout race condition (Karthikeyan S)
|
||||||
|
- fix: clear local database on logout even if server timesout (td)
|
||||||
|
- fix: hangup on call crash (Mohammad Reza Moradi)
|
||||||
|
- fix: stale call checker leaks memory (Nicolas Werner)
|
||||||
|
|
||||||
## [0.22.6] - 23 October 2023
|
## [0.22.6] - 23 October 2023
|
||||||
- fix: Do not convert linebreaks in pre blocks on markdown parsing (Krille)
|
- fix: Do not convert linebreaks in pre blocks on markdown parsing (Krille)
|
||||||
- refactor: Wait for room in sync until sync process and trigger cleanup call not before actually start clean up. (Krille)
|
- refactor: Wait for room in sync until sync process and trigger cleanup call not before actually start clean up. (Krille)
|
||||||
|
|
|
||||||
|
|
@ -932,6 +932,7 @@ class Client extends MatrixApi {
|
||||||
final syncResp = await sync(
|
final syncResp = await sync(
|
||||||
filter: '{"room":{"include_leave":true,"timeline":{"limit":10}}}',
|
filter: '{"room":{"include_leave":true,"timeline":{"limit":10}}}',
|
||||||
timeout: _archiveCacheBusterTimeout,
|
timeout: _archiveCacheBusterTimeout,
|
||||||
|
setPresence: syncPresence,
|
||||||
);
|
);
|
||||||
// wrap around and hope there are not more than 30 leaves in 2 minutes :)
|
// wrap around and hope there are not more than 30 leaves in 2 minutes :)
|
||||||
_archiveCacheBusterTimeout = (_archiveCacheBusterTimeout + 1) % 30;
|
_archiveCacheBusterTimeout = (_archiveCacheBusterTimeout + 1) % 30;
|
||||||
|
|
|
||||||
|
|
@ -1200,7 +1200,9 @@ class CallSession {
|
||||||
setCallState(CallState.kEnded);
|
setCallState(CallState.kEnded);
|
||||||
|
|
||||||
if (!isGroupCall) {
|
if (!isGroupCall) {
|
||||||
if (callId != voip.currentCID) return;
|
// when a call crash and this call is already terminated the currentCId is null.
|
||||||
|
// So don't return bc the hangup or reject will not proceed anymore.
|
||||||
|
if (callId != voip.currentCID && voip.currentCID != null) return;
|
||||||
voip.currentCID = null;
|
voip.currentCID = null;
|
||||||
voip.incomingCallRoomId.removeWhere((key, value) => value == callId);
|
voip.incomingCallRoomId.removeWhere((key, value) => value == callId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: matrix
|
name: matrix
|
||||||
description: Matrix Dart SDK
|
description: Matrix Dart SDK
|
||||||
version: 0.22.6
|
version: 0.22.7
|
||||||
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue