diff --git a/retroshare-gui/src/gui/forums/CreateForumMsg.cpp b/retroshare-gui/src/gui/forums/CreateForumMsg.cpp index a107d9c89..4406e7dc1 100644 --- a/retroshare-gui/src/gui/forums/CreateForumMsg.cpp +++ b/retroshare-gui/src/gui/forums/CreateForumMsg.cpp @@ -66,9 +66,9 @@ void CreateForumMsg::newMsg() name += " In Reply to: "; name += QString::fromStdWString(msg.title); - QString text = ui.forumSubject->text(); + QString text = QString::fromStdWString(msg.title); - if (text.startsWith("Re:")) + if (text.startsWith("Re:", Qt::CaseInsensitive)) { subj = QString::fromStdWString(msg.title); } @@ -128,6 +128,7 @@ void CreateForumMsg::createMsg() msgInfo.msgflags = RS_DISTRIB_AUTHEN_REQ; } + if ((msgInfo.msg == L"") && (msgInfo.title == L"")) return; /* do nothing */