Skip to content

Commit

Permalink
v2: fix expiration timer unit
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jun 24, 2024
1 parent 25dbeb3 commit 760ec87
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,6 +110,6 @@ func (mpm *msgconvPortalMethods) GetData(ctx context.Context) *legacydb.Portal {
//Revision: portal.Metadata["revision"].(uint32),
Encrypted: true,
//RelayUserID: portal.Relay.UserMXID,
ExpirationTime: uint32(portal.Metadata.DisappearTimer.Milliseconds()),
ExpirationTime: uint32(portal.Metadata.DisappearTimer.Seconds()),
}
}

0 comments on commit 760ec87

Please sign in to comment.