mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
* Added retroshare interface.
* Updated RS_FORUM -> RS_DISTRIB flags * Improvements to Forum (mainly subscribe/unsubscribe). git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fe284b628a
commit
2c7df4aba1
5 changed files with 114 additions and 26 deletions
|
@ -55,24 +55,24 @@ void CreateForum::createForum()
|
|||
|
||||
if (ui.forumTypePublic->isChecked())
|
||||
{
|
||||
flags |= RS_FORUM_PUBLIC;
|
||||
flags |= RS_DISTRIB_PUBLIC;
|
||||
}
|
||||
else if (ui.forumTypePrivate->isChecked())
|
||||
{
|
||||
flags |= RS_FORUM_PRIVATE;
|
||||
flags |= RS_DISTRIB_PRIVATE;
|
||||
}
|
||||
else if (ui.forumTypeEncrypted->isChecked())
|
||||
{
|
||||
flags |= RS_FORUM_ENCRYPTED;
|
||||
flags |= RS_DISTRIB_ENCRYPTED;
|
||||
}
|
||||
|
||||
if (ui.forumMsgAuth->isChecked())
|
||||
{
|
||||
flags |= RS_FORUM_MSG_AUTH;
|
||||
flags |= RS_DISTRIB_AUTHEN_REQ;
|
||||
}
|
||||
else if (ui.forumMsgAnon->isChecked())
|
||||
{
|
||||
flags |= RS_FORUM_MSG_ANON;
|
||||
flags |= RS_DISTRIB_AUTHEN_ANON;
|
||||
}
|
||||
|
||||
rsForums->createForum(name.toStdWString(), desc.toStdWString(), flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue