Skip to content

Commit

Permalink
build: Update matrix sdk and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Dec 17, 2024
1 parent 7aa9603 commit c30e6c4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/versions.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FLUTTER_VERSION=3.27.0
FLUTTER_VERSION=3.27.1
JAVA_VERSION=17
8 changes: 6 additions & 2 deletions lib/utils/init_with_restore.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ extension InitWithRestoreExtension on Client {

try {
await init(
onMigration: onMigration,
onInitStateChanged: (state) {
if (state == InitState.migratingDatabase) onMigration?.call();
},
waitForFirstSync: false,
waitUntilLoadCompletedLoaded: false,
);
Expand Down Expand Up @@ -122,7 +124,9 @@ extension InitWithRestoreExtension on Client {
newUserID: sessionBackup.userId,
waitForFirstSync: false,
waitUntilLoadCompletedLoaded: false,
onMigration: onMigration,
onInitStateChanged: (state) {
if (state == InitState.migratingDatabase) onMigration?.call();
},
);
ClientManager.sendInitNotification(
l10n.initAppError,
Expand Down
6 changes: 6 additions & 0 deletions lib/utils/voip_plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,10 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
@override
// TODO: implement keyProvider
EncryptionKeyProvider? get keyProvider => throw UnimplementedError();

@override
Future<void> registerListeners(CallSession session) {
// TODO: implement registerListeners
throw UnimplementedError();
}
}
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1159,10 +1159,10 @@ packages:
dependency: "direct main"
description:
name: matrix
sha256: "94a66e563b89fabbeb67f24428f05f4547c6ee98878ec20f647530cbfb6f04db"
sha256: de99186797fddbf309dae0d9b9b4d35b49ca10d7bb362727f7cd916ce71a77d7
url: "https://pub.dev"
source: hosted
version: "0.35.0"
version: "0.36.0"
meta:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies:
just_audio: ^0.9.39
latlong2: ^0.9.1
linkify: ^5.0.0
matrix: ^0.35.0
matrix: ^0.36.0
mime: ^1.0.6
native_imaging: ^0.1.1
opus_caf_converter_dart: ^1.0.1
Expand Down

0 comments on commit c30e6c4

Please sign in to comment.