[darcs-to-svn @ Handling /say msg and remove useless debug messages]
[empathy.git] / libempathy / gossip-message.c
index f4c756d..c4844e6 100644 (file)
@@ -321,6 +321,9 @@ gossip_message_set_body (GossipMessage *message,
                type = GOSSIP_MESSAGE_TYPE_ACTION;
                body += 4;
        }
+       else if (g_str_has_prefix (body, "/say")) {
+               body += 5;
+       }
 
        if (body) {
                priv->body = g_strdup (body);