aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-05-28 17:48:16 +0200
committerGitHub <noreply@github.com>2022-05-28 17:48:16 +0200
commit1ff2e122caf6a648a7fd6e7f00cad1445e01df6b (patch)
tree387eeb9525119a281623e73a85adc982194b97eb /src/client
parent1b20fbc7408164079cf5ff64a273ce955d51cfb7 (diff)
downloadqxmpp-1ff2e122caf6a648a7fd6e7f00cad1445e01df6b.tar.gz
Apply 'clang-format' (#429)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/QXmppCallStream.cpp2
-rw-r--r--src/client/QXmppClient.cpp4
-rw-r--r--src/client/QXmppClientExtension.h2
-rw-r--r--src/client/QXmppPubSubEventHandler.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/client/QXmppCallStream.cpp b/src/client/QXmppCallStream.cpp
index d3621bdd..43310bf1 100644
--- a/src/client/QXmppCallStream.cpp
+++ b/src/client/QXmppCallStream.cpp
@@ -226,7 +226,7 @@ void QXmppCallStreamPrivate::addEncoder(QXmppCallPrivate::GstCodec &codec)
gst_element_sync_state_with_parent(encoderBin);
-#if GST_CHECK_VERSION(1,20,0)
+#if GST_CHECK_VERSION(1, 20, 0)
addRtcpSender(gst_element_request_pad_simple(rtpbin, QStringLiteral("send_rtcp_src_%1").arg(id).toLatin1().data()));
#else
addRtcpSender(gst_element_get_request_pad(rtpbin, QStringLiteral("send_rtcp_src_%1").arg(id).toLatin1().data()));
diff --git a/src/client/QXmppClient.cpp b/src/client/QXmppClient.cpp
index 76c9ea25..7b1a593b 100644
--- a/src/client/QXmppClient.cpp
+++ b/src/client/QXmppClient.cpp
@@ -829,8 +829,8 @@ void QXmppClient::injectIq(const QDomElement &element, const std::optional<QXmpp
QXmppIq iq(QXmppIq::Error);
iq.setTo(element.attribute("from"));
const auto errMessage = e2eeMetadata.has_value()
- ? QStringLiteral("Feature not implemented or not supported with end-to-end encryption.")
- : QStringLiteral("Feature not implemented.");
+ ? QStringLiteral("Feature not implemented or not supported with end-to-end encryption.")
+ : QStringLiteral("Feature not implemented.");
iq.setError(Err(Err::Cancel, Err::FeatureNotImplemented, errMessage));
reply(std::move(iq), e2eeMetadata);
}
diff --git a/src/client/QXmppClientExtension.h b/src/client/QXmppClientExtension.h
index 6dd1607a..7df1f840 100644
--- a/src/client/QXmppClientExtension.h
+++ b/src/client/QXmppClientExtension.h
@@ -5,8 +5,8 @@
#ifndef QXMPPCLIENTEXTENSION_H
#define QXMPPCLIENTEXTENSION_H
-#include "QXmppExtension.h"
#include "QXmppDiscoveryIq.h"
+#include "QXmppExtension.h"
#include "QXmppLogger.h"
class QDomElement;
diff --git a/src/client/QXmppPubSubEventHandler.h b/src/client/QXmppPubSubEventHandler.h
index 093dab5d..153a20dd 100644
--- a/src/client/QXmppPubSubEventHandler.h
+++ b/src/client/QXmppPubSubEventHandler.h
@@ -17,4 +17,4 @@ public:
virtual bool handlePubSubEvent(const QDomElement &element, const QString &pubSubService, const QString &nodeName) = 0;
};
-#endif // QXMPPPUBSUBEVENTHANDLER_H
+#endif // QXMPPPUBSUBEVENTHANDLER_H