Skip to content

refactor(room): Remove Manager constructor dependency from Room#17790

Merged
nickvergessen merged 1 commit intomainfrom
refactor/noid/remove-room-manager-dep
Apr 24, 2026
Merged

refactor(room): Remove Manager constructor dependency from Room#17790
nickvergessen merged 1 commit intomainfrom
refactor/noid/remove-room-manager-dep

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

Replace $this->manager in getDisplayName() with Server::get(Manager::class), matching the existing pattern used by getName() for ParticipantService. This removes the last injected service dependency from Room's constructor, leaving only ITimeFactory alongside the data fields.

AI-Assisted-By: Claude Sonnet 4.6 noreply@anthropic.com

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

🛠️ API Checklist

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@miaulalala miaulalala added this to the 🏖️ Next Major (34) milestone Apr 23, 2026
@miaulalala miaulalala self-assigned this Apr 23, 2026
@miaulalala miaulalala added feature: api 🛠️ OCS API for conversations, chats and participants technical debt labels Apr 23, 2026
Replace $this->manager in getDisplayName() with Server::get(Manager::class),
matching the existing pattern used by getName() for ParticipantService.
This removes the last injected service dependency from Room's constructor,
leaving only ITimeFactory alongside the data fields.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the refactor/noid/remove-room-manager-dep branch from 114cf6b to 2a87840 Compare April 23, 2026 21:23
@nickvergessen nickvergessen merged commit 6539bb4 into main Apr 24, 2026
79 checks passed
@nickvergessen nickvergessen deleted the refactor/noid/remove-room-manager-dep branch April 24, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: api 🛠️ OCS API for conversations, chats and participants technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants