Enable libolm
This commit is contained in:
parent
2c2f5408ee
commit
d388d8267c
5 changed files with 108 additions and 4 deletions
|
|
@ -162,9 +162,10 @@ extension LocalizedBody on Event {
|
|||
break;
|
||||
case EventTypes.Encryption:
|
||||
localizedBody =
|
||||
I18n.of(context).activatedEndToEndEncryption(senderName) +
|
||||
". " +
|
||||
I18n.of(context).needPantalaimonWarning;
|
||||
I18n.of(context).activatedEndToEndEncryption(senderName);
|
||||
if (!room.client.encryptionEnabled) {
|
||||
localizedBody += ". " + I18n.of(context).needPantalaimonWarning;
|
||||
}
|
||||
break;
|
||||
case EventTypes.Encrypted:
|
||||
localizedBody = I18n.of(context).couldNotDecryptMessage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue