mirror of
https://github.com/MetaProvide/talked-client.git
synced 2025-04-14 17:08:34 +00:00
Add support for Nextcloud 23
This commit is contained in:
parent
349114d566
commit
3a172615d2
2 changed files with 5 additions and 3 deletions
|
@ -65,7 +65,7 @@ To use Talked, simply use the `/recording` command in a chat room. If you don't
|
|||
* `/recording info` - prints the version number of the Talked server.
|
||||
* `/recording help` - prints a help message with the different options.
|
||||
]]></description>
|
||||
<version>0.2.0</version>
|
||||
<version>0.3.0</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="mw@mwalbeck.org">Magnus Walbeck</author>
|
||||
<namespace>Talked</namespace>
|
||||
|
@ -75,7 +75,7 @@ To use Talked, simply use the `/recording` command in a chat room. If you don't
|
|||
<bugs>https://github.com/MetaProvide/talked-client/issues</bugs>
|
||||
<repository>https://github.com/MetaProvide/talked-client.git</repository>
|
||||
<dependencies>
|
||||
<nextcloud min-version="21" max-version="22"/>
|
||||
<nextcloud min-version="21" max-version="23"/>
|
||||
</dependencies>
|
||||
<commands>
|
||||
<command>OCA\Talked\Command\Record</command>
|
||||
|
|
|
@ -29,6 +29,7 @@ declare(strict_types=1);
|
|||
namespace OCA\Talked\Command;
|
||||
|
||||
use OCP\IConfig;
|
||||
use OCP\Util;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
@ -114,7 +115,8 @@ You have the following options available:
|
|||
|
||||
if ($arguments[0] === 'start') {
|
||||
$payload = [
|
||||
'token' => $token
|
||||
'token' => $token,
|
||||
'nextcloud_version' => Util::getVersion()[0]
|
||||
];
|
||||
|
||||
if (count($arguments) > 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue