From 49b9466e434ac9b4863a1797952696f5bf14b688 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Wed, 17 Aug 2022 21:29:30 +0200 Subject: CarbonManagerV2: Mention messageReceived() can also be used Unhandled messages from the message pipeline are passed to the messageReceived() signal of the QXmppClient. --- src/client/QXmppCarbonManagerV2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/QXmppCarbonManagerV2.cpp') 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 &&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. -- cgit v1.2.3