diff options
-rw-r--r-- | docs/capabilities.md | 1 | ||||
-rw-r--r-- | lib/Capabilities.php | 1 | ||||
-rw-r--r-- | tests/php/CapabilitiesTest.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/docs/capabilities.md b/docs/capabilities.md index e3cf472d0..3f435f667 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -72,3 +72,4 @@ title: Capabilities ## 12.0 * `conversation-v4` - Whether conversations API v4 is available. This also means that v1, v2 and v3 are **not** available anymore. The changes on API v4 allow a user to have multiple sessions in the same conversation on different devices which is incompatible with the data structure that was used by the previous APIs. +* `geo-location-sharing` - Whether the `geo-location` rich object is defined and can be shared to the rich-object sharing endpoint diff --git a/lib/Capabilities.php b/lib/Capabilities.php index f1042e515..8d1f736be 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -90,6 +90,7 @@ class Capabilities implements IPublicCapability { 'room-description', 'rich-object-sharing', 'temp-user-avatar-api', + 'geo-location-sharing', ], 'config' => [ 'attachments' => [ diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php index ce31f0377..2381b4e42 100644 --- a/tests/php/CapabilitiesTest.php +++ b/tests/php/CapabilitiesTest.php @@ -87,6 +87,7 @@ class CapabilitiesTest extends TestCase { 'room-description', 'rich-object-sharing', 'temp-user-avatar-api', + 'geo-location-sharing', ]; } |