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:ui';
|
||||
|
||||
import 'package:fluffychat/config/app_config.dart';
|
||||
import 'package:fluffychat/utils/notification_background_handler.dart';
|
||||
import 'package:flutter/material.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:shared_preferences/shared_preferences.dart';
|
||||
|
||||
import 'package:fluffychat/config/app_config.dart';
|
||||
import 'package:fluffychat/utils/client_manager.dart';
|
||||
import 'package:fluffychat/utils/notification_background_handler.dart';
|
||||
import 'package:fluffychat/utils/platform_infos.dart';
|
||||
import 'config/setting_keys.dart';
|
||||
import 'utils/background_push.dart';
|
||||
|
|
|
|||
|
|
@ -498,10 +498,12 @@ class Message extends StatelessWidget {
|
|||
CrossAxisAlignment
|
||||
.start,
|
||||
children: <Widget>[
|
||||
if (RelationshipTypes
|
||||
.reply ==
|
||||
event
|
||||
.relationshipType)
|
||||
if (event
|
||||
.inReplyToEventId(
|
||||
includingFallback:
|
||||
false,
|
||||
) !=
|
||||
null)
|
||||
FutureBuilder<Event?>(
|
||||
future: event
|
||||
.getReplyEvent(
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
homeserver = Uri.https(homeserverInput, '');
|
||||
}
|
||||
final client = await Matrix.of(context).getLoginClient();
|
||||
final (_, _, loginFlows) = await client.checkHomeserver(homeserver);
|
||||
final (_, _, loginFlows, _) = await client.checkHomeserver(homeserver);
|
||||
this.loginFlows = loginFlows;
|
||||
if (supportsSso && !legacyPasswordLogin) {
|
||||
if (!PlatformInfos.isMobile) {
|
||||
|
|
|
|||
|
|
@ -1121,7 +1121,7 @@ packages:
|
|||
description:
|
||||
path: "."
|
||||
ref: main
|
||||
resolved-ref: "9e26e5087a5811bcba5384e377a1b09a26badb89"
|
||||
resolved-ref: "420346e1034e6ebf7860332a16fa8c327af046db"
|
||||
url: "https://github.com/famedly/matrix-dart-sdk.git"
|
||||
source: git
|
||||
version: "3.0.2"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue