aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppTransferManager.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-08-15 10:42:47 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2015-08-15 10:42:47 +0200
commit152ae594d855263ac21f403a73963000bfdf98c9 (patch)
tree11103003d65330ec925be8589fa625fbb7f1d595 /src/client/QXmppTransferManager.cpp
parentcb429d9d01b0ef34086de6234a6573ccc649582c (diff)
downloadqxmpp-152ae594d855263ac21f403a73963000bfdf98c9.tar.gz
add a note that QXmppTransferManager::sendFile requires a full JID
Diffstat (limited to 'src/client/QXmppTransferManager.cpp')
-rw-r--r--src/client/QXmppTransferManager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/QXmppTransferManager.cpp b/src/client/QXmppTransferManager.cpp
index bf112389..0616163d 100644
--- a/src/client/QXmppTransferManager.cpp
+++ b/src/client/QXmppTransferManager.cpp
@@ -1286,6 +1286,9 @@ void QXmppTransferManager::_q_jobStateChanged(QXmppTransferJob::State state)
///
/// The remote party will be given the choice to accept or refuse the transfer.
///
+/// \note The recipient's \a jid must be a full JID with a resource, for instance "user@host/resource".
+///
+
QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, const QString &filePath, const QString &description)
{
if (jid.isEmpty()) {
@@ -1334,6 +1337,9 @@ QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, const QStri
///
/// The remote party will be given the choice to accept or refuse the transfer.
///
+/// \note The recipient's \a jid must be a full JID with a resource, for instance "user@host/resource".
+///
+
QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, QIODevice *device, const QXmppTransferFileInfo &fileInfo, const QString &sid)
{
bool check;