perf: sync protocol and core hardening updates
This commit is contained in:
parent
152fed3b87
commit
4390ebf5a9
283 changed files with 29231 additions and 2295 deletions
|
|
@ -369,7 +369,11 @@ func (r *Router) recordChannelStateForUser(ctx context.Context, userID, channelI
|
|||
authKeyID, _ = AuthKeyIDFrom(ctx)
|
||||
excludeSessionID, _ = SessionIDFrom(ctx)
|
||||
}
|
||||
event, _, err := r.deps.Updates.RecordChannelState(ctx, authKeyID, userID, channelID, excludeSessionID)
|
||||
excludeAuthKeyID := [8]byte{}
|
||||
if excludeCurrent {
|
||||
excludeAuthKeyID = rawAuthKeyIDForOrigin(ctx)
|
||||
}
|
||||
event, _, err := r.deps.Updates.RecordChannelState(ctx, authKeyID, userID, channelID, excludeAuthKeyID, excludeSessionID)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue