Add "pin" action to usercards and reply threads (#4692)
This commit is contained in:
@@ -231,6 +231,11 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, QWidget *parent,
|
||||
this->underlyingChannel_->sendMessage(msg);
|
||||
return "";
|
||||
}},
|
||||
{"pin",
|
||||
[this](std::vector<QString> /*arguments*/) -> QString {
|
||||
this->togglePinned();
|
||||
return "";
|
||||
}},
|
||||
|
||||
// these actions make no sense in the context of a usercard, so they aren't implemented
|
||||
{"reject", nullptr},
|
||||
|
||||
Reference in New Issue
Block a user