( ctx context.Context, s gomatrixserverlib.ServerName, keys map[string][]string, )
| 54 | } |
| 55 | |
| 56 | func (a *FederationInternalAPI) QueryKeys( |
| 57 | ctx context.Context, s gomatrixserverlib.ServerName, keys map[string][]string, |
| 58 | ) (gomatrixserverlib.RespQueryKeys, error) { |
| 59 | ires, err := a.doRequestIfNotBackingOffOrBlacklisted(s, func() (interface{}, error) { |
| 60 | return a.federation.QueryKeys(ctx, s, keys) |
| 61 | }) |
| 62 | if err != nil { |
| 63 | return gomatrixserverlib.RespQueryKeys{}, err |
| 64 | } |
| 65 | return ires.(gomatrixserverlib.RespQueryKeys), nil |
| 66 | } |
| 67 | |
| 68 | func (a *FederationInternalAPI) Backfill( |
| 69 | ctx context.Context, s gomatrixserverlib.ServerName, roomID string, limit int, eventIDs []string, |
nothing calls this directly
no test coverage detected