(ctx context.Context, req *api.PerformUpdateDisplayNameRequest, _ *struct{})
| 866 | } |
| 867 | |
| 868 | func (a *UserInternalAPI) SetDisplayName(ctx context.Context, req *api.PerformUpdateDisplayNameRequest, _ *struct{}) error { |
| 869 | return a.DB.SetDisplayName(ctx, req.Localpart, req.DisplayName) |
| 870 | } |
| 871 | |
| 872 | func (a *UserInternalAPI) QueryLocalpartForThreePID(ctx context.Context, req *api.QueryLocalpartForThreePIDRequest, res *api.QueryLocalpartForThreePIDResponse) error { |
| 873 | localpart, err := a.DB.GetLocalpartForThreePID(ctx, req.ThreePID, req.Medium) |
nothing calls this directly
no test coverage detected