mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Add "Create topic" to new forum view.
This commit is contained in:
@@ -529,7 +529,10 @@ void Filler::addTogglePin() {
|
||||
}
|
||||
|
||||
void Filler::addToggleMuteSubmenu(bool addSeparator) {
|
||||
if (!_thread || _thread->peer()->isSelf() || _thread->asSublist()) {
|
||||
if (!_thread
|
||||
|| _thread->peer()->isSelf()
|
||||
|| _thread->asSublist()
|
||||
|| (_thread->asHistory() && _thread->asHistory()->isForum())) {
|
||||
return;
|
||||
}
|
||||
PeerMenuAddMuteSubmenuAction(_controller, _thread, _addAction);
|
||||
@@ -1470,6 +1473,7 @@ void Filler::fillContextMenuActions() {
|
||||
|
||||
void Filler::fillHistoryActions() {
|
||||
addToggleMuteSubmenu(true);
|
||||
addCreateTopic();
|
||||
addInfo();
|
||||
addViewAsTopics();
|
||||
addManageChat();
|
||||
|
||||
Reference in New Issue
Block a user