From c03409ed15e7a7bf10a5942de5212be4075a730c Mon Sep 17 00:00:00 2001 From: Scott Weber Date: Mon, 22 Jul 2024 18:34:24 -0400 Subject: [PATCH] Update msgconvproxy.go --- pkg/connector/msgconvproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/connector/msgconvproxy.go b/pkg/connector/msgconvproxy.go index 5cb2a0d2..8dc2db8b 100644 --- a/pkg/connector/msgconvproxy.go +++ b/pkg/connector/msgconvproxy.go @@ -110,7 +110,7 @@ func (mpm *msgconvPortalMethods) GetData(ctx context.Context) *legacydb.Portal { TopicSet: portal.TopicSet, Revision: portal.Metadata.(*PortalMetadata).Revision, // Hack to prevent encryption while using the bridge as a "local bridge" - Encrypted: strings.HasSuffix(portal.Bridge.Matrix.ServerName(), ".localhost"), + Encrypted: !strings.HasSuffix(portal.Bridge.Matrix.ServerName(), ".localhost"), //RelayUserID: portal.Relay.UserMXID, ExpirationTime: uint32(portal.Disappear.Timer.Seconds()), }