Skip to content

Commit

Permalink
Update msgconvproxy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
smweber committed Jul 22, 2024
1 parent bd5ffae commit c03409e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connector/msgconvproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
}
Expand Down

0 comments on commit c03409e

Please sign in to comment.