Skip to content
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

[stable20] Prevent issues with utf8mb4 chars on update #4734

Merged
merged 1 commit into from
Dec 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions lib/Chat/Changelog/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,6 @@ public function updateChangelog(string $userId): void {
}

public function getChangelogs(): array {
$emojis = $this->l->t('- Spice up your messages with emojis from the emoji picker');
if ($this->connection->supports4ByteText()) {
$emojis = str_replace(
'{emoji}',
'😍',
$this->l->t('- Spice up your messages with emojis from the emoji picker {emoji}')
);
}

return [
$this->l->t(
"Welcome to Nextcloud Talk!\n"
Expand All @@ -118,7 +109,7 @@ public function getChangelogs(): array {
$this->l->t('- Shared files are now opened directly inside the chat view with the viewer apps'),
$this->l->t('New in Talk 10'),
$this->l->t('- You can now search for chats and messages in the unified search in the top bar'),
$emojis,
$this->l->t('- Spice up your messages with emojis from the emoji picker'),
$this->l->t('- You can now change your camera and microphone while being in a call'),
];
}
Expand Down