diff options
Diffstat (limited to 'plugins/Dropbox/src')
| -rw-r--r-- | plugins/Dropbox/src/dropbox_services.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp index c8ab1957f7..db2e2c8be2 100644 --- a/plugins/Dropbox/src/dropbox_services.cpp +++ b/plugins/Dropbox/src/dropbox_services.cpp @@ -201,6 +201,9 @@ INT_PTR CDropbox::SendFileToDropbox(void *obj, WPARAM hContact, LPARAM lParam)  	wchar_t *filePath = (wchar_t*)lParam;
 +	if (hContact == NULL)
 +		hContact = instance->GetDefaultContact();
 +
  	FileTransferParam *ftp = new FileTransferParam();
  	ftp->withVisualisation = false;
  	ftp->pfts.flags |= PFTS_SENDING;
  | 
