mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
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:
parent
c3d92dc472
commit
086c5f8e53
2 changed files with 9 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue