Add "pin" action to usercards and reply threads (#4692)

This commit is contained in:
Mm2PL
2023-07-01 16:38:55 +00:00
committed by GitHub
parent 61566e2f4f
commit f915eab1a2
7 changed files with 43 additions and 23 deletions
+5
View File
@@ -62,6 +62,11 @@ ReplyThreadPopup::ReplyThreadPopup(bool closeAutomatically, QWidget *parent,
}
return "";
}},
{"pin",
[this](std::vector<QString> /*arguments*/) -> QString {
this->togglePinned();
return "";
}},
// these actions make no sense in the context of a reply thread, so they aren't implemented
{"execModeratorAction", nullptr},