summarylogtreecommitdiffstats
path: root/always_pin_without_notify.patch
blob: fc7b39eeecc52e8f93653961a12738c6c7f55908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/Telegram/SourceFiles/boxes/confirm_box.cpp b/Telegram/SourceFiles/boxes/confirm_box.cpp
index 9623410..dc8f52c 100644
--- a/Telegram/SourceFiles/boxes/confirm_box.cpp
+++ b/Telegram/SourceFiles/boxes/confirm_box.cpp
@@ -481,14 +481,14 @@ void PinMessageBox::prepare() {
 				tr::now,
 				lt_user,
 				_peer->shortName()),
-			false,
+			true,
 			st::defaultBoxCheckbox);
 		_checkbox = _pinForPeer;
 	} else if (!_pinningOld && (_peer->isChat() || _peer->isMegagroup())) {
 		_notify.create(
 			this,
 			tr::lng_pinned_notify(tr::now),
-			true,
+			false,
 			st::defaultBoxCheckbox);
 		_checkbox = _notify;
 	}