Browse Source

Merge pull request #10364 from nextcloud/bugfix/10355/markdown-capability

feat(capability): Add a capability for messages being markdown
pull/10372/head
Joas Schilling 2 years ago
committed by GitHub
parent
commit
85bd83012e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/capabilities.md
  2. 1
      lib/Capabilities.php
  3. 1
      tests/php/CapabilitiesTest.php

1
docs/capabilities.md

@ -125,3 +125,4 @@
## 17.1
* `remind-me-later` - Support for "Remind me later" for chat messages exists
* `bots-v1` - Support of the first version for Bots and Webhooks is available
* `markdown-messages` - Chat messages support markdown and are rendered automatically

1
lib/Capabilities.php

@ -121,6 +121,7 @@ class Capabilities implements IPublicCapability {
'typing-privacy',
'remind-me-later',
'bots-v1',
'markdown-messages',
],
'config' => [
'attachments' => [

1
tests/php/CapabilitiesTest.php

@ -139,6 +139,7 @@ class CapabilitiesTest extends TestCase {
'typing-privacy',
'remind-me-later',
'bots-v1',
'markdown-messages',
'message-expiration',
'reactions',
];

Loading…
Cancel
Save