build: Matrix version 3.0.0

dependabot/pub/unifiedpush-6.1.0
Christian Kußowski 1 week ago
parent d48ff5b9a3
commit f634e67d69
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -46,22 +46,7 @@ class SettingsIgnoreListController extends State<SettingsIgnoreList> {
final client = Matrix.of(context).client; final client = Matrix.of(context).client;
showFutureLoadingDialog( showFutureLoadingDialog(
context: context, context: context,
future: () async { future: () => client.ignoreUser(userId),
for (final room in client.rooms) {
final isInviteFromUser = room.membership == Membership.invite &&
room.getState(EventTypes.RoomMember, client.userID!)?.senderId ==
userId;
if (room.directChatMatrixID == userId || isInviteFromUser) {
try {
await room.leave();
} catch (e, s) {
Logs().w('Unable to leave room with blocked user $userId', e, s);
}
}
}
await client.ignoreUser(userId);
},
); );
setState(() {}); setState(() {});
controller.clear(); controller.clear();

@ -1113,12 +1113,11 @@ packages:
matrix: matrix:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: matrix
ref: HEAD sha256: "832d112e556cbb6fcf5e7e4528c840c1f95f865682ade277dc2b9e4128431021"
resolved-ref: "102d04304e1af33c4c71f502f487d5d31f9eaefb" url: "https://pub.dev"
url: "https://github.com/famedly/matrix-dart-sdk.git" source: hosted
source: git version: "3.0.0"
version: "2.0.1"
meta: meta:
dependency: transitive dependency: transitive
description: description:

@ -52,8 +52,7 @@ dependencies:
just_audio: ^0.10.5 just_audio: ^0.10.5
latlong2: ^0.9.1 latlong2: ^0.9.1
linkify: ^5.0.0 linkify: ^5.0.0
matrix: matrix: ^3.0.0
git: https://github.com/famedly/matrix-dart-sdk.git
mime: ^2.0.0 mime: ^2.0.0
native_imaging: ^0.2.0 native_imaging: ^0.2.0
opus_caf_converter_dart: ^1.0.1 opus_caf_converter_dart: ^1.0.1

Loading…
Cancel
Save