Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-09-24 16:09:24 +0300
committerGitHub <noreply@github.com>2020-09-24 16:09:24 +0300
commit826367be0e24b523d9b3be701d85f62bb6cb1a62 (patch)
tree949c6e468b6f78d5f2f001779ca288e16dbfb3bc /lib
parent7ab4d56d2d242a603503568dd41204edd44a2ce6 (diff)
parentddefa75ef29bed4e19dd73ad3f5b23f30c841f65 (diff)
Merge pull request #4216 from nextcloud/bugfix/noid/add-whats-new-in-talk-10
Add "New in Talk 10" section
Diffstat (limited to 'lib')
-rw-r--r--lib/Chat/Changelog/Manager.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Chat/Changelog/Manager.php b/lib/Chat/Changelog/Manager.php
index 0d8661b41..0afbcc3c9 100644
--- a/lib/Chat/Changelog/Manager.php
+++ b/lib/Chat/Changelog/Manager.php
@@ -27,12 +27,15 @@ use OCA\Talk\Chat\ChatManager;
use OCA\Talk\Manager as RoomManager;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IConfig;
+use OCP\IDBConnection;
use OCP\IL10N;
class Manager {
/** @var IConfig */
protected $config;
+ /** @var IDBConnection */
+ protected $connection;
/** @var RoomManager */
protected $roomManager;
/** @var ChatManager */
@@ -43,11 +46,13 @@ class Manager {
protected $l;
public function __construct(IConfig $config,
+ IDBConnection $connection,
RoomManager $roomManager,
ChatManager $chatManager,
ITimeFactory $timeFactory,
IL10N $l) {
$this->config = $config;
+ $this->connection = $connection;
$this->roomManager = $roomManager;
$this->chatManager = $chatManager;
$this->timeFactory = $timeFactory;
@@ -79,6 +84,15 @@ class Manager {
}
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"
@@ -102,6 +116,10 @@ class Manager {
$this->l->t('- Check out the new grid and call view'),
$this->l->t('- You can now upload and drag\'n\'drop files directly from your device into the chat'),
$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('- You can now change your camera and microphone while being in a call'),
];
}
}