diff --git a/retroshare-gui/src/gui/ChannelFeed.cpp b/retroshare-gui/src/gui/ChannelFeed.cpp index 2be1c0719..7c11d1360 100644 --- a/retroshare-gui/src/gui/ChannelFeed.cpp +++ b/retroshare-gui/src/gui/ChannelFeed.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include @@ -852,6 +853,13 @@ bool ChannelFeed::navigate(const std::string& channelId, const std::string& msgI return true; } + //update channel thread + updateChannelMsgs(); + //Waiting thread finished + time_t now=time(NULL); + while(fillThread && ((now+300)>time(NULL))) + QCoreApplication::processEvents(QEventLoop::AllEvents, 100); + /* Search exisiting item */ QList::iterator mit; for (mit = mChanMsgItems.begin(); mit != mChanMsgItems.end(); mit++) {