telegabber/e2ee/omemo/libsignal/capability_modern.go
2026-07-28 00:38:46 -04:00

10 lines
414 B
Go

//go:build !signal_legacy
package libsignal
// ModernOMEMOSupported reports whether this build links a library capable
// of modern OMEMO (protocol v4, shared by OMEMO 1/urn:xmpp:omemo:1 and
// OMEMO 2/urn:xmpp:omemo:2), as opposed to only legacy/siacs OMEMO
// (protocol v3). Callers should check this before advertising or
// negotiating anything beyond the legacy namespace.
const ModernOMEMOSupported = true