Skip to content

refactor(room): Move one-to-one name resolution to RoomService#17791

Open
miaulalala wants to merge 1 commit intomainfrom
refactor/noid/move-room-getName-logic
Open

refactor(room): Move one-to-one name resolution to RoomService#17791
miaulalala wants to merge 1 commit intomainfrom
refactor/noid/move-room-getName-logic

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

Extract the lazy name reconstruction logic from Room::getName() into RoomService::resolveOneToOneName(). Room::getName() now delegates to it via Server::get(), keeping the same behaviour while moving the business logic to where it belongs.

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

Comment thread lib/Room.php
Extract the lazy name reconstruction logic from Room::getName() into
RoomService::resolveOneToOneName(). Room::getName() now delegates to it
via Server::get(), keeping the same behaviour while moving the business
logic to where it belongs.

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/move-room-getName-logic branch from 3aca173 to 1c19a3e Compare April 25, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants