| 46 | ) |
| 47 | |
| 48 | type UserInternalAPI struct { |
| 49 | DB storage.Database |
| 50 | SyncProducer *producers.SyncAPI |
| 51 | |
| 52 | DisableTLSValidation bool |
| 53 | ServerName gomatrixserverlib.ServerName |
| 54 | // AppServices is the list of all registered AS |
| 55 | AppServices []config.ApplicationService |
| 56 | KeyAPI keyapi.UserKeyAPI |
| 57 | RSAPI rsapi.UserRoomserverAPI |
| 58 | } |
| 59 | |
| 60 | func (a *UserInternalAPI) InputAccountData(ctx context.Context, req *api.InputAccountDataRequest, res *api.InputAccountDataResponse) error { |
| 61 | local, domain, err := gomatrixserverlib.SplitID('@', req.UserID) |
nothing calls this directly
no outgoing calls
no test coverage detected