wsd: support per-user links and commands

userextrainfo is a json array that contains
extra user-specific links.

Currently 'avatar' is assumed to hold the
image url for the user's avatar.

'mail' and other links can also be added.

Change-Id: I37c4c68bfa0b7ee659e017b4867dcb8cf5c2ca2f
Reviewed-on: https://gerrit.libreoffice.org/38120
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
Ashod Nakashian
2017-05-28 12:20:49 -04:00
committed by Ashod Nakashian
parent 66a3e1c273
commit da2d3cbc92
15 changed files with 92 additions and 15 deletions

View File

@ -152,6 +152,9 @@ protected:
/// Name of the user to whom the session belongs to
std::string _userName;
/// Extra info per user, mostly mail, avatar, links, etc.
std::string _userExtraInfo;
/// Language for the document based on what the user has in the UI.
std::string _lang;
};