Bugfix: show correct signed / unsigned state of forum messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-05-05 23:06:05 +00:00
parent c3d92dc472
commit 086c5f8e53
2 changed files with 9 additions and 4 deletions

View file

@ -207,6 +207,10 @@ bool p3Forums::getForumThreadMsgList(std::string fId, std::string pId, std::list
tis.title = fmsg->title;
tis.msg = fmsg->msg;
if (fmsg->personalSignature.keyId.empty() == false) {
tis.msgflags |= RS_DISTRIB_AUTHEN_REQ;
}
msgs.push_back(tis);
}
return true;
@ -241,6 +245,10 @@ bool p3Forums::getForumMessage(std::string fId, std::string mId, ForumMsgInfo &i
//info.srcId = fmsg->srcId;
info.srcId = fmsg->personalSignature.keyId;
if (fmsg->personalSignature.keyId.empty() == false) {
info.msgflags |= RS_DISTRIB_AUTHEN_REQ;
}
return true;
}