diff --git a/docs/chat.md b/docs/chat.md index 771bc76fce8..4f9df7a91d9 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -455,7 +455,7 @@ See [OCP\RichObjectStrings\Definitions](https://github.com/nextcloud/server/blob * `read_only` - {actor} locked the conversation * `listable_none` - {actor} limited the conversation to the current participants * `listable_users` - {actor} opened the conversation accessible to registered users -* `listable_all` - {actor} opened the conversation accessible to registered and guest app users +* `listable_all` - {actor} opened the conversation accessible to registered users and users created with the Guests app * `lobby_timer_reached` - The conversation is now open to everyone * `lobby_none` - {actor} opened the conversation to everyone * `lobby_non_moderators` - {actor} restricted the conversation to moderators diff --git a/docs/constants.md b/docs/constants.md index faf3bd0ddb8..3b1fe809dcc 100644 --- a/docs/constants.md +++ b/docs/constants.md @@ -24,7 +24,7 @@ ### Listable scope * `0` Participants only -* `1` Regular users only, excluding guest app users +* `1` Regular users only, excluding users created with the Guests app * `2` Everyone ### Webinar lobby states diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php index c9f91c17eca..36fa08f8eb9 100644 --- a/lib/Chat/Parser/SystemMessage.php +++ b/lib/Chat/Parser/SystemMessage.php @@ -191,11 +191,11 @@ public function parseMessage(Message $chatMessage): void { $parsedMessage = $this->l->t('An administrator opened the conversation to registered users'); } } elseif ($message === 'listable_all') { - $parsedMessage = $this->l->t('{actor} opened the conversation to registered and guest app users'); + $parsedMessage = $this->l->t('{actor} opened the conversation to registered users and users created with the Guests app'); if ($currentUserIsActor) { - $parsedMessage = $this->l->t('You opened the conversation to registered and guest app users'); + $parsedMessage = $this->l->t('You opened the conversation to registered users and users created with the Guests app'); } elseif ($cliIsActor) { - $parsedMessage = $this->l->t('An administrator opened the conversation to registered and guest app users'); + $parsedMessage = $this->l->t('An administrator opened the conversation to registered users and users created with the Guests app'); } } elseif ($message === 'lobby_timer_reached') { $parsedMessage = $this->l->t('The conversation is now open to everyone'); diff --git a/lib/Manager.php b/lib/Manager.php index b3fb1d13c70..f43fbd8f9f9 100644 --- a/lib/Manager.php +++ b/lib/Manager.php @@ -1291,8 +1291,7 @@ public function isValidParticipant(string $userId): bool { } /** - * Returns whether the given user id is a guest user from - * the guest app + * Returns whether the given user id is a user created with the Guests app * * @param string $userId user id to check * @return bool true if the user is a guest, false otherwise diff --git a/lib/Room.php b/lib/Room.php index 1331cfe3470..252a730647d 100644 --- a/lib/Room.php +++ b/lib/Room.php @@ -85,12 +85,12 @@ class Room { public const LISTABLE_NONE = 0; /** - * Searchable by all regular users and moderators, even when not joined, excluding users from the guest app + * Searchable by all regular users and moderators, even when not joined, excluding users created with the Guests app */ public const LISTABLE_USERS = 1; /** - * Searchable by everyone, which includes guest users (from guest app), even when not joined + * Searchable by everyone, which includes users created with the Guests app, even when not joined */ public const LISTABLE_ALL = 2; diff --git a/src/components/ConversationSettings/ConversationSettingsDialog.vue b/src/components/ConversationSettings/ConversationSettingsDialog.vue index 81a8d61b742..9c5db5f2669 100644 --- a/src/components/ConversationSettings/ConversationSettingsDialog.vue +++ b/src/components/ConversationSettings/ConversationSettingsDialog.vue @@ -46,17 +46,11 @@ - - - - - - - + + + + @@ -177,6 +171,10 @@ export default { return this.conversation.type === CONVERSATION.TYPE.NOTE_TO_SELF }, + isGuest() { + return this.$store.getters.getActorType() === 'guests' + }, + token() { return this.$store.getters.getConversationSettingsToken() || this.$store.getters.getToken() diff --git a/src/components/ConversationSettings/LinkShareSettings.vue b/src/components/ConversationSettings/LinkShareSettings.vue index 2e28eb117cd..d25539c44aa 100644 --- a/src/components/ConversationSettings/LinkShareSettings.vue +++ b/src/components/ConversationSettings/LinkShareSettings.vue @@ -25,26 +25,25 @@ {{ t('spreed', 'Guest access') }} - - {{ t('spreed', 'Allow guests to join this conversation via link') }} - - - - {{ t('spreed', 'Password protection') }} - - -