Code

restructuring whiteboard
authordaleharvey <daleharvey@users.sourceforge.net>
Mon, 31 Jul 2006 14:36:19 +0000 (14:36 +0000)
committerdaleharvey <daleharvey@users.sourceforge.net>
Mon, 31 Jul 2006 14:36:19 +0000 (14:36 +0000)
src/jabber_whiteboard/inkboard-document.cpp
src/jabber_whiteboard/session-manager.cpp

index e2bba2fc02329766c7012d4a7bd3642d5003b967..5f0d27e89bc4fb875c9b4c30e4b888f31021e255 100644 (file)
@@ -90,6 +90,7 @@ InkboardDocument::sendProtocol(const Glib::ustring &destJid, Message::Wrapper wr
                     "%s"
                 "</%s>"
             "</wb>"
+            "<body> </body>"
         "</message>";
     if (!_sm->getClient().write(
         fmt,_type,_sm->getClient().getJid().c_str(),destJid.c_str(),
index 72bddcee4bb42c2335b994dd9eadd6d9e3078145..856db5fe79bce3ec4ead8a47811a757d0a79dbdb 100644 (file)
@@ -99,8 +99,6 @@ SessionManager::processXmppEvent(const Pedro::XmppEvent &event)
             g_warning("## SM message:%s\n", event.getFrom().c_str());
             Pedro::Element *root = event.getDOM();
 
-            g_warning("hey %s",root->getTagAttribute("wb", "xmlns"));
-
             if (root)
                 {
                 if (root->getTagAttribute("inkboard", "xmlns") == Vars::INKBOARD_XMLNS)
@@ -119,8 +117,6 @@ SessionManager::processXmppEvent(const Pedro::XmppEvent &event)
             g_warning("## SM MUC message:%s\n", event.getFrom().c_str());
             Pedro::Element *root = event.getDOM();
 
-            g_warning("hey %s",root->getTagAttribute("wb", "xmlns"));
-
             if (root)
                 {
                 if (root->getTagAttribute("inkboard", "xmlns") == Vars::INKBOARD_XMLNS)