From 8ca42ee6e74902155d1fec97a8e74da080f2d756 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 15 Feb 2020 10:00:54 +0100 Subject: [PATCH] Fix olm --- lib/views/chat_encryption_settings.dart | 14 +++++++------- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/views/chat_encryption_settings.dart b/lib/views/chat_encryption_settings.dart index 5ff4303..612b033 100644 --- a/lib/views/chat_encryption_settings.dart +++ b/lib/views/chat_encryption_settings.dart @@ -89,13 +89,6 @@ class _ChatEncryptionSettingsState extends State { : I18n.of(context).needPantalaimonWarning, ), ), - if (room.encrypted) - ListTile( - title: Text("Outbound MegOlm session ID:"), - subtitle: Text( - room.outboundGroupSession?.session_id()?.beautified ?? - "None"), - ), Divider(height: 1), if (room.encrypted) ListTile( @@ -168,6 +161,13 @@ class _ChatEncryptionSettingsState extends State { ); }, ), + if (room.encrypted) + ListTile( + title: Text("Outbound MegOlm session ID:"), + subtitle: Text( + room.outboundGroupSession?.session_id()?.beautified ?? + "None"), + ), ], ), ); diff --git a/pubspec.lock b/pubspec.lock index 4d53e43..47e09ef 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -124,8 +124,8 @@ packages: dependency: "direct main" description: path: "." - ref: "4921c4c31bf92a0ce26b672af8f842ab8a52b541" - resolved-ref: "4921c4c31bf92a0ce26b672af8f842ab8a52b541" + ref: d2f3377d70511776ebd65ab3ccda5ca9bf248067 + resolved-ref: d2f3377d70511776ebd65ab3ccda5ca9bf248067 url: "https://gitlab.com/famedly/famedlysdk.git" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index 695d0b8..85bdbba 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: famedlysdk: git: url: https://gitlab.com/famedly/famedlysdk.git - ref: 4921c4c31bf92a0ce26b672af8f842ab8a52b541 + ref: 4d4eabb9a228f46066361b19c50a410afbecc7c9 localstorage: ^3.0.1+4 bubble: ^1.1.9+1