diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-11-08 17:37:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 17:37:46 +0100 |
commit | 1ad3043e4fd36a5e6b206c1bf4bbee5b35c92717 (patch) | |
tree | d00720d5cf6db66c678df2382218840ee8b31284 /lib/public | |
parent | 5f15020b9bcc4732d81176f2c8380bfdbd16a051 (diff) | |
parent | 1c97d1b4ed5ff4c1f0484e6575718ec092cfa274 (diff) | |
download | nextcloud-server-1ad3043e4fd36a5e6b206c1bf4bbee5b35c92717.tar.gz nextcloud-server-1ad3043e4fd36a5e6b206c1bf4bbee5b35c92717.zip |
Merge pull request #1998 from nextcloud/share-by-mail-notification
add share by mail activity
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Activity/IExtension.php | 1 | ||||
-rw-r--r-- | lib/public/RichObjectStrings/definitions.json | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/Activity/IExtension.php b/lib/public/Activity/IExtension.php index a86837892ba..aaa4c869561 100644 --- a/lib/public/Activity/IExtension.php +++ b/lib/public/Activity/IExtension.php @@ -103,6 +103,7 @@ interface IExtension { * Currently known types are: * * file => will strip away the path of the file and add a tooltip with it * * username => will add the avatar of the user + * * email => will add a mailto link * * @param string $app * @param string $text diff --git a/lib/public/RichObjectStrings/definitions.json b/lib/public/RichObjectStrings/definitions.json index 222f6615cf4..494e96c8f76 100644 --- a/lib/public/RichObjectStrings/definitions.json +++ b/lib/public/RichObjectStrings/definitions.json @@ -224,5 +224,24 @@ "example": "Support Team" } } + }, + "email": { + "author": "Nextcloud", + "app": "sharebymail", + "since": "9.2.0", + "parameters": { + "id": { + "since": "9.2.0", + "required": true, + "description": "The mail-address used to identify the event on the instance", + "example": "test@localhost" + }, + "name": { + "since": "9.2.0", + "required": true, + "description": "The display name of a matching contact or the email (fallback) which should be used in the visual representation", + "example": "Foo Bar" + } + } } } |