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
|
// Return a keyring that forces requests to be proxied through the
|
||||||
// below functions. That way we can enforce things like validity
|
// below functions. That way we can enforce things like validity
|
||||||
// and keeping the cache up-to-date.
|
// and keeping the cache up-to-date.
|
||||||
return &gomatrixserverlib.KeyRing{
|
return s.keyRing
|
||||||
KeyDatabase: s,
|
|
||||||
KeyFetchers: []gomatrixserverlib.KeyFetcher{},
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *FederationInternalAPI) StoreKeys(
|
func (s *FederationInternalAPI) StoreKeys(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue