aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppMucManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/QXmppMucManager.cpp')
-rw-r--r--src/client/QXmppMucManager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/QXmppMucManager.cpp b/src/client/QXmppMucManager.cpp
index a19cc139..db884792 100644
--- a/src/client/QXmppMucManager.cpp
+++ b/src/client/QXmppMucManager.cpp
@@ -330,10 +330,15 @@ bool QXmppMucRoom::sendInvitation(const QString &jid, const QString &reason)
return d->client->sendPacket(message);
}
+///
/// Sends a message to the room.
///
+/// This is just a helper function, you can as well also send a message to the
+/// channel manually by setting the message type to 'groupchat' and addressing
+/// the JID of the MUC room.
+///
/// \return true if the request was sent, false otherwise
-
+///
bool QXmppMucRoom::sendMessage(const QString &text)
{
QXmppMessage msg;