Added to use now only the default Message Composer for MsgItem and PeerItem too, GeneralMessage needs to be removed soon.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2971 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-21 23:49:01 +00:00
parent 5b9b0aba96
commit f79afbf7c3
2 changed files with 38 additions and 3 deletions

View file

@ -24,8 +24,11 @@
#include "FeedHolder.h"
#include "../RsAutoUpdatePage.h"
#include "rsiface/rsmsgs.h"
#include "rsiface/rspeers.h"
#include "gui/msgs/ChanMsgDialog.h"
#include <iostream>
#include <sstream>
#include <time.h>
@ -282,7 +285,16 @@ void PeerItem::sendMsg()
if (mParent)
{
mParent->openMsg(FEEDHOLDER_MSG_MESSAGE, mPeerId, "");
//mParent->openMsg(FEEDHOLDER_MSG_MESSAGE, mPeerId, "");
ChanMsgDialog *nMsgDialog = new ChanMsgDialog(true);
nMsgDialog->newMsg();
nMsgDialog->addRecipient( mPeerId ) ;
nMsgDialog->show();
nMsgDialog->activateWindow();
/* window will destroy itself! */
}
}