chore: Update matrix dart sdk
This commit is contained in:
parent
1334909a62
commit
4f3629ccf4
4 changed files with 10 additions and 8 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
import 'dart:isolate';
|
import 'dart:isolate';
|
||||||
import 'dart:ui';
|
import 'dart:ui';
|
||||||
|
|
||||||
import 'package:fluffychat/config/app_config.dart';
|
|
||||||
import 'package:fluffychat/utils/notification_background_handler.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
|
|
@ -11,7 +9,9 @@ import 'package:flutter_vodozemac/flutter_vodozemac.dart' as vod;
|
||||||
import 'package:matrix/matrix.dart';
|
import 'package:matrix/matrix.dart';
|
||||||
import 'package:shared_preferences/shared_preferences.dart';
|
import 'package:shared_preferences/shared_preferences.dart';
|
||||||
|
|
||||||
|
import 'package:fluffychat/config/app_config.dart';
|
||||||
import 'package:fluffychat/utils/client_manager.dart';
|
import 'package:fluffychat/utils/client_manager.dart';
|
||||||
|
import 'package:fluffychat/utils/notification_background_handler.dart';
|
||||||
import 'package:fluffychat/utils/platform_infos.dart';
|
import 'package:fluffychat/utils/platform_infos.dart';
|
||||||
import 'config/setting_keys.dart';
|
import 'config/setting_keys.dart';
|
||||||
import 'utils/background_push.dart';
|
import 'utils/background_push.dart';
|
||||||
|
|
|
||||||
|
|
@ -498,10 +498,12 @@ class Message extends StatelessWidget {
|
||||||
CrossAxisAlignment
|
CrossAxisAlignment
|
||||||
.start,
|
.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
if (RelationshipTypes
|
if (event
|
||||||
.reply ==
|
.inReplyToEventId(
|
||||||
event
|
includingFallback:
|
||||||
.relationshipType)
|
false,
|
||||||
|
) !=
|
||||||
|
null)
|
||||||
FutureBuilder<Event?>(
|
FutureBuilder<Event?>(
|
||||||
future: event
|
future: event
|
||||||
.getReplyEvent(
|
.getReplyEvent(
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
||||||
homeserver = Uri.https(homeserverInput, '');
|
homeserver = Uri.https(homeserverInput, '');
|
||||||
}
|
}
|
||||||
final client = await Matrix.of(context).getLoginClient();
|
final client = await Matrix.of(context).getLoginClient();
|
||||||
final (_, _, loginFlows) = await client.checkHomeserver(homeserver);
|
final (_, _, loginFlows, _) = await client.checkHomeserver(homeserver);
|
||||||
this.loginFlows = loginFlows;
|
this.loginFlows = loginFlows;
|
||||||
if (supportsSso && !legacyPasswordLogin) {
|
if (supportsSso && !legacyPasswordLogin) {
|
||||||
if (!PlatformInfos.isMobile) {
|
if (!PlatformInfos.isMobile) {
|
||||||
|
|
|
||||||
|
|
@ -1121,7 +1121,7 @@ packages:
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: main
|
ref: main
|
||||||
resolved-ref: "9e26e5087a5811bcba5384e377a1b09a26badb89"
|
resolved-ref: "420346e1034e6ebf7860332a16fa8c327af046db"
|
||||||
url: "https://github.com/famedly/matrix-dart-sdk.git"
|
url: "https://github.com/famedly/matrix-dart-sdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "3.0.2"
|
version: "3.0.2"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue