From 1785dc55c0a4cdcbc5f9788e0196e7d3a38fe53c Mon Sep 17 00:00:00 2001
From: aunsane <aunsane@gmail.com>
Date: Sat, 24 Feb 2018 01:15:27 +0300
Subject: CloudFile: Implement new upload services (#1144)

---
 plugins/CloudFile/src/Services/google_service.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'plugins/CloudFile/src/Services/google_service.cpp')

diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp
index a15056b884..3877506b0f 100644
--- a/plugins/CloudFile/src/Services/google_service.cpp
+++ b/plugins/CloudFile/src/Services/google_service.cpp
@@ -246,6 +246,7 @@ UINT CGDriveService::Upload(FileTransferParam *ftp)
 
 			CreateSharedLink(folderId, link);
 			ftp->AppendFormatData(L"%s\r\n", ptrW(mir_utf8decodeW(link)));
+			ftp->AddSharedLink(link);
 		}
 
 		ftp->FirstFile();
@@ -290,6 +291,7 @@ UINT CGDriveService::Upload(FileTransferParam *ftp)
 				char link[MAX_PATH];
 				CreateSharedLink(fileId, link);
 				ftp->AppendFormatData(L"%s\r\n", ptrW(mir_utf8decodeW(link)));
+				ftp->AddSharedLink(link);
 			}
 		} while (ftp->NextFile());
 	}
-- 
cgit v1.2.3