diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-03-16 04:28:54 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-03-16 04:58:25 +0100 |
commit | ed4b4458eb8bce2e461d952f11756e24c4e7f3c6 (patch) | |
tree | ca4b6cee476154e165266a95810607f657f7712e /apps/federatedfilesharing | |
parent | 2c073dc53d24c82dd4aaf315327d08463f2c7050 (diff) | |
download | nextcloud-server-ed4b4458eb8bce2e461d952f11756e24c4e7f3c6.tar.gz nextcloud-server-ed4b4458eb8bce2e461d952f11756e24c4e7f3c6.zip |
Use the display name in the avatar for a circle share
Before, the avatar for a circle share was generated using the
"share_with" field as the seed for "imageplaceholder". Due to this, when
the "share_with" field is set to the circle ID the character shown in
the avatar was just a random character instead of the first character of
the display name. Now the "share_with" is still used as the seed for the
colour, but the display name is used as the text of the avatar.
This adds support for "share_with" fields set to the circle ID while
being backwards compatible with "share_with" fields set to the circle
name.
Note that when "share_with" fields is set to the circle name the colour
of the avatar is different in the list of suggested sharees and in the
list of current sharees, but that also happened before these changes
(due to a different seed being used in each place).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/federatedfilesharing')
0 files changed, 0 insertions, 0 deletions