Skip to content

Commit d9d2cc2

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 4f39ba0 commit d9d2cc2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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)