mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
subject mail populated when user shares file/folder
This commit is contained in:
parent
940f0cc89c
commit
4957791128
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ public class CreateShareOperation extends SyncOperation {
|
|||
OCFile file = getStorageManager().getFileByPath(mPath);
|
||||
if (file!=null) {
|
||||
mSendIntent.putExtra(Intent.EXTRA_TEXT, share.getShareLink());
|
||||
mSendIntent.putExtra(Intent.EXTRA_SUBJECT,
|
||||
getClient().getCredentials().getUsername() + " shared >>" + file.getFileName() + "<< with you");
|
||||
file.setPublicLink(share.getShareLink());
|
||||
file.setShareByLink(true);
|
||||
getStorageManager().saveFile(file);
|
||||
|
|
Loading…
Reference in a new issue