Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Application Service user cannot join rooms on other homeservers without account on origin homeserver #4778

@paulbdavis

Description

@paulbdavis

Description

Trying to join a room as an application service's main user is inconsistent. After setting up the registration, but without explicitly creating the main user for the service, the main user for the application service can only join rooms on another home server if another user from that home server is present.

Steps to reproduce

  • Register new application service that attempts to join any room it is invited to. Do not explicitly register the matrix ID for the main application service user
  • Create a room on another homeserver and invite the application service main user. This fails with a 404 error { "errcode": "M_NOT_FOUND", "error": "Profile was not found" }
  • Disinvite the application service user and invite another user belonging to the same homeserver as the application service
  • Re-invite the application service user. The application service user should be able to join (polling may be required as the invite itself may not have synced)
  • Explicitly create user for the application service's main user
  • Create new room on another homeserver and invite the application service user, it should now be able to join properly

I am not sure if this behavior is intentional, but if so it should be documented in the guide for setting up application services. If not it should be consistent one way or the other.

Version information

  • Homeserver: matrix.org and my personal homeserver
  • Platform: Ubuntu 18.04 on DigitalOcean

Metadata

Metadata

Assignees

Labels

A-Application-ServiceRelated to AS supportS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions