switch to matrix dart sdk fork
This commit is contained in:
parent
6b3179ed2d
commit
8c976f5f3c
|
|
@ -117,8 +117,8 @@ abstract class ClientManager {
|
||||||
'im.ponies.room_emotes',
|
'im.ponies.room_emotes',
|
||||||
},
|
},
|
||||||
logLevel: kReleaseMode ? Level.warning : Level.verbose,
|
logLevel: kReleaseMode ? Level.warning : Level.verbose,
|
||||||
databaseBuilder: flutterMatrixSdkDatabaseBuilder,
|
//database: flutterMatrixSdkDatabaseBuilder(client),
|
||||||
//legacyDatabaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder,
|
legacyDatabaseBuilder: flutterMatrixSdkDatabaseBuilder,
|
||||||
supportedLoginTypes: {
|
supportedLoginTypes: {
|
||||||
AuthenticationTypes.password,
|
AuthenticationTypes.password,
|
||||||
AuthenticationTypes.sso,
|
AuthenticationTypes.sso,
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ Future<DatabaseApi> flutterMatrixSdkDatabaseBuilder(Client client) async {
|
||||||
Future<MatrixSdkDatabase> _constructDatabase(Client client) async {
|
Future<MatrixSdkDatabase> _constructDatabase(Client client) async {
|
||||||
if (kIsWeb) {
|
if (kIsWeb) {
|
||||||
html.window.navigator.storage?.persist();
|
html.window.navigator.storage?.persist();
|
||||||
return MatrixSdkDatabase(client.clientName);
|
return MatrixSdkDatabase.init(client.clientName);
|
||||||
}
|
}
|
||||||
|
|
||||||
final cipher = await getDatabaseCipher();
|
final cipher = await getDatabaseCipher();
|
||||||
|
|
@ -113,7 +113,7 @@ Future<MatrixSdkDatabase> _constructDatabase(Client client) async {
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
return MatrixSdkDatabase(
|
return MatrixSdkDatabase.init(
|
||||||
client.clientName,
|
client.clientName,
|
||||||
database: database,
|
database: database,
|
||||||
maxFileSize: 1000 * 1000 * 10,
|
maxFileSize: 1000 * 1000 * 10,
|
||||||
|
|
|
||||||
|
|
@ -1153,10 +1153,11 @@ packages:
|
||||||
matrix:
|
matrix:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: matrix
|
path: "."
|
||||||
sha256: "7d15fdbc760be7e40c58bb65e03baa8241b1e31db2bc67dab61883aabc083a85"
|
ref: main
|
||||||
url: "https://pub.dev"
|
resolved-ref: "6f3bdad65c079a3784ce487f320195f93a8708a8"
|
||||||
source: hosted
|
url: "https://git.extera.xyz/OfficialDakari/MatrixDartSdk.git"
|
||||||
|
source: git
|
||||||
version: "0.40.0"
|
version: "0.40.0"
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,10 @@ dependencies:
|
||||||
latlong2: ^0.9.1
|
latlong2: ^0.9.1
|
||||||
linkify: ^5.0.0
|
linkify: ^5.0.0
|
||||||
material: ^1.0.0+2
|
material: ^1.0.0+2
|
||||||
matrix: 0.40.0
|
matrix:
|
||||||
|
git:
|
||||||
|
url: https://git.extera.xyz/OfficialDakari/MatrixDartSdk.git
|
||||||
|
ref: main
|
||||||
mime: ^1.0.6
|
mime: ^1.0.6
|
||||||
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…
Reference in New Issue