Community homeUri set incorrectly for community with same URI as yourself (same user)
You can create a community/group for your own user but currently the homeUri
is always set as gitter.im/username
which conflicts with your own user. Instead of seeing the community home, it will create a one to one because of the URI lookup priority.
getGroupOptions
doesn't ever add useHomeUriSuffix
and isn't added down the line
- This issue was originally tracked by (private) https://github.com/troupe/gitter-webapp/issues/2546
- https://gitlab.com/gitlab-org/gitter/webapp/issues/1561
- https://gitter.zendesk.com/agent/tickets/11187
- https://gitter.zendesk.com/agent/tickets/11488
GH_USER
- https://gitter.zendesk.com/agent/tickets/14162
Relevant code
- https://gitlab.com/gitlab-org/gitter/webapp/blob/99c31bebbd3d73afdaf15d3bdfa78a67282c95da/modules/groups/lib/group-service.js#L54-55
- https://gitlab.com/gitlab-org/gitter/webapp/blob/99c31bebbd3d73afdaf15d3bdfa78a67282c95da/server/api/v1/groups/index.js#L46
- https://gitlab.com/gitlab-org/gitter/webapp/blob/4a6e9476066aeb719877bdd032ae62e5fe29dfcf/modules/uri-resolver/lib/uri-lookup-service.js#L52
Edited by Eric Eastwood