mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-14 22:43:51 +01:00
Don't do it for device keys
This commit is contained in:
parent
33d13bcb70
commit
d1cb9df31b
1 changed files with 0 additions and 7 deletions
|
@ -380,13 +380,6 @@ func (a *KeyInternalAPI) processSelfSignatures(
|
|||
}
|
||||
|
||||
case *gomatrixserverlib.DeviceKeys:
|
||||
for keyID := range sig.Keys {
|
||||
split := strings.SplitN(string(keyID), ":", 2)
|
||||
if len(split) > 1 && gomatrixserverlib.KeyID(split[1]) == targetKeyID {
|
||||
targetKeyID = keyID // contains the ed25519: or other scheme
|
||||
break
|
||||
}
|
||||
}
|
||||
for originUserID, forOriginUserID := range sig.Signatures {
|
||||
for originKeyID, originSig := range forOriginUserID {
|
||||
if err := a.DB.StoreCrossSigningSigsForTarget(
|
||||
|
|
Loading…
Reference in a new issue