QuerySharedUsers returns a list of users who share at least 1 room in common with the given user.
(ctx context.Context, req *QuerySharedUsersRequest, res *QuerySharedUsersResponse)
| 334 | |
| 335 | // QuerySharedUsers returns a list of users who share at least 1 room in common with the given user. |
| 336 | func (t *RoomserverInternalAPITrace) QuerySharedUsers(ctx context.Context, req *QuerySharedUsersRequest, res *QuerySharedUsersResponse) error { |
| 337 | err := t.Impl.QuerySharedUsers(ctx, req, res) |
| 338 | util.GetLogger(ctx).WithError(err).Infof("QuerySharedUsers req=%+v res=%+v", js(req), js(res)) |
| 339 | return err |
| 340 | } |
| 341 | |
| 342 | // QueryKnownUsers returns a list of users that we know about from our joined rooms. |
| 343 | func (t *RoomserverInternalAPITrace) QueryKnownUsers(ctx context.Context, req *QueryKnownUsersRequest, res *QueryKnownUsersResponse) error { |
nothing calls this directly
no test coverage detected