Enable libolm

This commit is contained in:
Christian Pauly 2020-02-15 09:20:08 +01:00
commit d388d8267c
5 changed files with 108 additions and 4 deletions

View file

@ -84,9 +84,18 @@ class _ChatEncryptionSettingsState extends State<ChatEncryptionSettings> {
ListTile(
trailing: Icon(Icons.info),
subtitle: Text(
I18n.of(context).needPantalaimonWarning,
Matrix.of(context).encryptionEnabled
? I18n.of(context).warningEncryptionInBeta
: 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(