mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix display of pinned messages in sublists.
This commit is contained in:
@@ -83,7 +83,9 @@ void PinMessageBox(
|
||||
object->setAllowTextLines();
|
||||
state->pinForPeer = Ui::MakeWeak(object.data());
|
||||
return object;
|
||||
} else if (!pinningOld && (peer->isChat() || peer->isMegagroup())) {
|
||||
} else if (!pinningOld
|
||||
&& (peer->isChat() || peer->isMegagroup())
|
||||
&& !peer->isMonoforum()) {
|
||||
auto object = object_ptr<Ui::Checkbox>(
|
||||
box,
|
||||
tr::lng_pinned_notify(tr::now),
|
||||
|
Reference in New Issue
Block a user