aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppCarbonManagerV2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CarbonManagerV2: Don't set 'to' address of carbon enable IQLinus Jahn2023-03-141-3/+2
| | | | | | | | | | | RFC6120 says we MUST NOT set a to address for such stanzas. From section 8.1.1.1.: 2. A stanza sent from a client to a server for direct processing by the server (e.g., roster processing as described in [XMPP-IM] or presence sent to the server for broadcasting to other entities) MUST NOT possess a 'to' attribute.
* CarbonManagerV2: Fix enabling carbonsMelvin Keskin2023-03-091-3/+5
|
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-1/+1
| | | | | | Closes #502. Co-authored-by: Jonah BrĂ¼chert <jbb@kaidan.im>
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-301-7/+9
| | | | Part of #501.
* CarbonManagerV2: Mention messageReceived() can also be usedLinus Jahn2022-08-171-1/+2
| | | | | Unhandled messages from the message pipeline are passed to the messageReceived() signal of the QXmppClient.
* CarbonManagerV2: Add ctor/dtor to allow later binary-compatible changesLinus Jahn2022-08-171-0/+3
| | | | | | Explicitly adds contructor and destructor, so we can later implement other features (like adding a d-ptr) without affecting binary compatibility.
* Don't use `using Manager =` to avoid doxygen errorsLinus Jahn2022-08-151-6/+5
| | | | | Doxygen doesn't understand that the Manager alias here and in the OMEMO manager are different and so generated a lot of warnings.
* Message: Add isCarbonForwarded attributeLinus Jahn2022-08-141-0/+3
| | | | | It's now also possible to see which messages were carbon forwarded when using the CarbonManagerV2.
* Add new message carbons managerLinus Jahn2022-08-141-0/+165
The new manager automatically enabled carbons and the user doesn't need to do anything. Messages are injected into the message pipeline of the client instead of using a signal. This makes it possible to decrypt the messages in the next step or do any other possible post-processing on the message. Adapting the old manager was not possible because that would mean major behaviour change that could potentially lead to clients processing message twice.