added code to change posts read status

This commit is contained in:
csoler 2020-09-22 23:32:10 +02:00
parent 010fc1dc44
commit 5dfa481f2f
9 changed files with 46 additions and 9 deletions

View file

@ -458,6 +458,10 @@ void BoardPostDisplayWidget::loadComments(bool e)
emit commentsRequested(mPost.mMeta.mMsgId,e);
}
void BoardPostDisplayWidget::readToggled(bool s)
{
emit changeReadStatusRequested(mPost.mMeta.mMsgId,s);
}
void BoardPostDisplayWidget::showAuthorInPeople()
{
if(mPost.mMeta.mAuthorId.isNull())