[Libreoffice-commits] online.git: wsd/reference.txt

Jan Holesovsky kendy at collabora.com
Wed Nov 15 12:16:44 UTC 2017


 wsd/reference.txt |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit fc1680a2539c4cddc46802bb9c7436c03c7655dc
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Nov 15 13:16:08 2017 +0100

    Document UserExtraInfo.
    
    Change-Id: Ibf73b20c4ec7271579d203564fc8f4594eb6e73b

diff --git a/wsd/reference.txt b/wsd/reference.txt
index 6c07d991..cea5fbf2 100644
--- a/wsd/reference.txt
+++ b/wsd/reference.txt
@@ -73,6 +73,16 @@ EnableOwnerTermination
 	If set to true, it allows the document owner (the one with OwnerId =
 	UserId) to send a 'closedocument' message (see protocol.txt)
 
+UserExtraInfo
+	JSON object that contains additional info about the user, namely the
+	avatar image.
+
+	Example: 'UserExtraInfo' => [ 'avatar' => 'http://url/to/user/avatar', 'mail' => 'user at server.com' ]
+
+	Note: There is strict Content Security Policy that restricts image
+	resources (img-src), therefore the avatar URL must not violate the
+	CSP,  otherwise it will show as broken images.
+
 WatermarkText
 	If set to a non-empty string, is used for rendering a watermark-like
 	text on each tile of the document


More information about the Libreoffice-commits mailing list