From 8978ee9f98a7c06825269d6fa2c99a0e706d2b7c Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Sun, 8 May 2022 12:44:57 +0200 Subject: Message: Initialize message type directly as 'chat' Previously the type had been set to Normal first and then to Chat. There's no change in behviour. The changes to the unit test qxmppomemodata are just for consistency. Signed-off-by: Linus Jahn --- tests/qxmppomemodata/tst_qxmppomemodata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/qxmppomemodata/tst_qxmppomemodata.cpp b/tests/qxmppomemodata/tst_qxmppomemodata.cpp index dd4ef309..778e9cea 100644 --- a/tests/qxmppomemodata/tst_qxmppomemodata.cpp +++ b/tests/qxmppomemodata/tst_qxmppomemodata.cpp @@ -527,7 +527,7 @@ void tst_QXmppOmemoData::testOmemoElement() void tst_QXmppOmemoData::testMessageOmemoElement() { const QByteArray xmlIn(QByteArrayLiteral( - "" + "" "" "" "
" @@ -558,7 +558,7 @@ void tst_QXmppOmemoData::testMessageOmemoElement() // needed since they are serialized in the reverse order in which they are // deserialized. const QByteArray xmlOut1(QByteArrayLiteral( - "" + "" "" "" "
" -- cgit v1.2.3