From 5200f18b3a65fa49d2b9a9a3f8abc445e663830f Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Thu, 9 Jun 2022 13:48:23 +0200 Subject: Fix typos in documentation and tests --- src/client/QXmppClientExtension.cpp | 2 +- src/client/QXmppE2eeExtension.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/QXmppClientExtension.cpp b/src/client/QXmppClientExtension.cpp index f71e9163..7181cfc3 100644 --- a/src/client/QXmppClientExtension.cpp +++ b/src/client/QXmppClientExtension.cpp @@ -73,7 +73,7 @@ bool QXmppClientExtension::handleStanza(const QDomElement &) /// stanzas. /// /// \param stanza The DOM element to be handled. -/// \param e2eeMetadata If the element has been decrypted this contains metdata +/// \param e2eeMetadata If the element has been decrypted this contains metadata /// about the encryption. /// /// \return You should return true if the stanza was handled and no further diff --git a/src/client/QXmppE2eeExtension.cpp b/src/client/QXmppE2eeExtension.cpp index 1a6d5e5c..9e98a566 100644 --- a/src/client/QXmppE2eeExtension.cpp +++ b/src/client/QXmppE2eeExtension.cpp @@ -47,7 +47,7 @@ /// Encrypts a QXmppMessage and returns the serialized XML stanza with encrypted /// contents via QFuture. /// -/// If the message cannot be encrypted for whatever reason you can either +/// If the message cannot be encrypted for whatever reason, you can either /// serialize the message unencrypted and return that or return a SendError with /// an error message. /// @@ -58,7 +58,7 @@ /// Encrypts a QXmppIq and returns the serialized XML stanza with encrypted /// contents via QFuture. /// -/// If the IQ cannot be encrypted for whatever reason you can either serialize +/// If the IQ cannot be encrypted for whatever reason, you can either serialize /// the IQ unencrypted and return that or return a SendError with an error /// message. /// -- cgit v1.2.3