Merge pull request #11171 from nextcloud/bugfix/noid/shared-by-info-for-room-shares-without-names
Better shared-by info for conversations without names
This commit is contained in:
commit
dda0dfd5f1
|
@ -100,6 +100,7 @@
|
|||
{escape: false}
|
||||
);
|
||||
} else if (this.model.getReshareType() === OC.Share.SHARE_TYPE_ROOM) {
|
||||
if (this.model.get('reshare').share_with_displayname) {
|
||||
sharedByText = t(
|
||||
'core',
|
||||
'Shared with you and the conversation {conversation} by {owner}',
|
||||
|
@ -110,6 +111,17 @@
|
|||
undefined,
|
||||
{escape: false}
|
||||
);
|
||||
} else {
|
||||
sharedByText = t(
|
||||
'core',
|
||||
'Shared with you in a conversation by {owner}',
|
||||
{
|
||||
owner: ownerDisplayName
|
||||
},
|
||||
undefined,
|
||||
{escape: false}
|
||||
);
|
||||
}
|
||||
} else {
|
||||
sharedByText = t(
|
||||
'core',
|
||||
|
|
Loading…
Reference in New Issue