aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppCarbonManagerV2.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-08-17 21:29:30 +0200
committerLinus Jahn <lnj@kaidan.im>2022-08-17 21:30:20 +0200
commit49b9466e434ac9b4863a1797952696f5bf14b688 (patch)
tree422a9601cd97ff5bd5ecb78789f5e3ff3858430f /src/client/QXmppCarbonManagerV2.cpp
parent5b24ad448ca6d3ba3ae43c360218709613058fb4 (diff)
downloadqxmpp-49b9466e434ac9b4863a1797952696f5bf14b688.tar.gz
CarbonManagerV2: Mention messageReceived() can also be used
Unhandled messages from the message pipeline are passed to the messageReceived() signal of the QXmppClient.
Diffstat (limited to 'src/client/QXmppCarbonManagerV2.cpp')
-rw-r--r--src/client/QXmppCarbonManagerV2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/QXmppCarbonManagerV2.cpp b/src/client/QXmppCarbonManagerV2.cpp
index 8d0189be..fa162612 100644
--- a/src/client/QXmppCarbonManagerV2.cpp
+++ b/src/client/QXmppCarbonManagerV2.cpp
@@ -89,7 +89,8 @@ auto parseIq(std::variant<QDomElement, SendError> &&sendResult) -> std::optional
/// The manager automatically enables carbons when a connection is established. If the connection
/// could be resumed, no new request is done. Carbon copied messages from other devices of the same
/// account and carbon copied messages from other accounts are injected into the QXmppClient. This
-/// way you can handle them like any other incoming message by implementing QXmppMessageHandler.
+/// way you can handle them like any other incoming message by implementing QXmppMessageHandler or
+/// using QXmppClient::messageReceived().
///
/// Checks are done to ensure that the entity sending the carbon copy is allowed to send the
/// forwarded message.