feat: Emoji verification in browsers

This commit is contained in:
Krille Fear 2021-11-23 17:28:47 +01:00
parent 1ddfcdef5e
commit 67ccec72f3

View File

@ -72,7 +72,7 @@ abstract class ClientManager {
enableE2eeRecovery: true, enableE2eeRecovery: true,
verificationMethods: { verificationMethods: {
KeyVerificationMethod.numbers, KeyVerificationMethod.numbers,
if (PlatformInfos.isMobile || PlatformInfos.isLinux) if (kIsWeb || PlatformInfos.isMobile || PlatformInfos.isLinux)
KeyVerificationMethod.emoji, KeyVerificationMethod.emoji,
}, },
importantStateEvents: <String>{'im.ponies.room_emotes'}, importantStateEvents: <String>{'im.ponies.room_emotes'},