Skip to content

Commit aa5c1d1

Browse files
committed
Add custom handling for room shares to the resharer information
Like done with group shares, received room shares are described as such in the UI. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 80537fe commit aa5c1d1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

core/js/sharedialogresharerinfoview.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@
9595
undefined,
9696
{escape: false}
9797
);
98+
} else if (this.model.getReshareType() === OC.Share.SHARE_TYPE_ROOM) {
99+
sharedByText = t(
100+
'core',
101+
'Shared with you and the conversation {conversation} by {owner}',
102+
{
103+
conversation: this.model.getReshareWithDisplayName(),
104+
owner: ownerDisplayName
105+
},
106+
undefined,
107+
{escape: false}
108+
);
98109
} else {
99110
sharedByText = t(
100111
'core',

0 commit comments

Comments
 (0)