Updated GUI to use new Message / Mail interface.

Configuration is in MessageInterface.h for the moment



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8067 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2015-03-22 04:52:53 +00:00
parent 7cece484c4
commit 926dd3c8e4
15 changed files with 126 additions and 79 deletions

View file

@ -36,6 +36,8 @@
#include <retroshare/rsmsgs.h>
#include <retroshare/rspeers.h>
#include "gui/msgs/MessageInterface.h"
/*****
* #define DEBUG_ITEM 1
****/
@ -249,7 +251,7 @@ void ChatMsgItem::sendMessage()
mi.msg = quickmsgText->toHtml().toUtf8().constData();
mi.rspeerid_msgto.push_back(mPeerId);
rsMsgs->MessageSend(mi);
rsMail->MessageSend(mi);
quickmsgText->clear();
messageFrame->setVisible(false);