Removed unnecessary call to RsForums::getForumMessage in ForumsDialog::insertThreads.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3680 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-10-18 11:29:55 +00:00
parent 71ab42d74d
commit f936bb8996

View File

@ -983,15 +983,6 @@ void ForumsDialog::insertThreads()
std::cerr << "ForumsDialog::insertThreads() Adding TopLevel Thread: mId: "; std::cerr << "ForumsDialog::insertThreads() Adding TopLevel Thread: mId: ";
std::cerr << tit->msgId << std::endl; std::cerr << tit->msgId << std::endl;
/* add the top threads */
ForumMsgInfo msg;
if (!rsForums->getForumMessage(fId, tit->threadId, msg))
{
std::cerr << "ForumsDialog::insertThreads() Failed to Get TopLevel Msg";
std::cerr << std::endl;
continue;
}
ForumMsgInfo msginfo; ForumMsgInfo msginfo;
if (rsForums->getForumMessage(fId,tit->msgId,msginfo) == false) { if (rsForums->getForumMessage(fId,tit->msgId,msginfo) == false) {
std::cerr << "ForumsDialog::insertThreads() Failed to Get Msg"; std::cerr << "ForumsDialog::insertThreads() Failed to Get Msg";