From fbc852112728a54c9729a6d9f12e3fd430cabf1e Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Wed, 28 Dec 2022 21:09:12 +0100 Subject: PubSubEvent: Split up Items type into Items and virtual Retract type This makes the handling much easier because you don't have to manually check whether the set 'Items' type means items have been published or retracted. There is no retract type in the XML representation, but that doesn't mean that we cannot distinguish both cases. Closes #521. --- tests/qxmpppubsubevent/tst_qxmpppubsubevent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/qxmpppubsubevent/tst_qxmpppubsubevent.cpp b/tests/qxmpppubsubevent/tst_qxmpppubsubevent.cpp index cbf90ee5..a3b457e9 100644 --- a/tests/qxmpppubsubevent/tst_qxmpppubsubevent.cpp +++ b/tests/qxmpppubsubevent/tst_qxmpppubsubevent.cpp @@ -69,7 +69,7 @@ void tst_QXmppPubSubEvent::testBasic_data() "" "" "", - QXmppPubSubEventBase::Items, + QXmppPubSubEventBase::Retract, "princely_musings", QStringList() << "ae890ac52d0df67ed7cfdf51b644e901" << "34324897shdfjk948577342343243243", -- cgit v1.2.3