mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Reuse same keyring on the implementing side
This commit is contained in:
parent
4e2a5ac2dc
commit
0123ed60fe
|
|
@ -14,10 +14,7 @@ func (s *FederationInternalAPI) KeyRing() *gomatrixserverlib.KeyRing {
|
|||
// Return a keyring that forces requests to be proxied through the
|
||||
// below functions. That way we can enforce things like validity
|
||||
// and keeping the cache up-to-date.
|
||||
return &gomatrixserverlib.KeyRing{
|
||||
KeyDatabase: s,
|
||||
KeyFetchers: []gomatrixserverlib.KeyFetcher{},
|
||||
}
|
||||
return s.keyRing
|
||||
}
|
||||
|
||||
func (s *FederationInternalAPI) StoreKeys(
|
||||
|
|
|
|||
Loading…
Reference in a new issue