mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Ignore conflicts when inserting withheld group sessions
This commit is contained in:
parent
ec471738fc
commit
0b07ae9942
2 changed files with 6 additions and 2 deletions
|
|
@ -638,6 +638,7 @@ func (mach *OlmMachine) HandleRoomKeyWithheld(ctx context.Context, content *even
|
|||
zerolog.Ctx(ctx).Debug().Interface("content", content).Msg("Non-megolm room key withheld event")
|
||||
return
|
||||
}
|
||||
// TODO log if there's a conflict? (currently ignored)
|
||||
err := mach.CryptoStore.PutWithheldGroupSession(ctx, *content)
|
||||
if err != nil {
|
||||
zerolog.Ctx(ctx).Error().Err(err).Msg("Failed to save room key withheld event")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue