Skip to content

Commit

Permalink
Fix typos in documentation and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
melvo authored and lnjX committed Jun 14, 2022
1 parent 1a3e39f commit 5200f18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/client/QXmppClientExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/client/QXmppE2eeExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand All @@ -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.
///
Expand Down
4 changes: 2 additions & 2 deletions tests/qxmppclient/tst_qxmppclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private slots:

void testIndexOfExtension();

void testE2eeEncryption();
void testE2eeExtension();

private:
QXmppClient *client;
Expand Down Expand Up @@ -115,7 +115,7 @@ class EncryptionExtension : public QXmppE2eeExtension
}
};

void tst_QXmppClient::testE2eeEncryption()
void tst_QXmppClient::testE2eeExtension()
{
QXmppClient client;
EncryptionExtension encrypter;
Expand Down

0 comments on commit 5200f18

Please sign in to comment.