-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not show room names when the user is not part of it #1496
Do not show room names when the user is not part of it #1496
Conversation
/backport to stable15 |
/backport to stable14 |
Signed-off-by: Joas Schilling <coding@schilljs.com>
b05fed6
to
8949585
Compare
Functional tests pass locally, merging |
backport to stable15 in #1497 |
The backport to stable14 failed. Please do this backport manually. |
} | ||
} | ||
} else if ($roomName === '') { | ||
$roomName = $this->l->t('Unnamed conversation'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the room has no name I would either return the list of participants (which would be consistent with how unnamed rooms are shown in the main Talk UI) or an empty string so clients can decide the best way to show the lack of name.
For example, in the share tab of the Files app, when a file is shared with a user in a room with no name now it shows Shared with you and the conversation Unnamed conversation by user0; before it showed Shared with you in a conversation by user0, which in my opinion is better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but before that, the list of (re-)shares listed it as (conversation) with an empty avatar. Certainly a worse option.
I agree, but that was a bug in the Sharing tab, not in Talk itself.
Anyway, I don't think neither is too important and in the future we should prevent empty room names, as they just cause too much weird behaviour
OK.
Follow up to #1426
Views:
Shares: