diff options
author | udf | 2019-08-17 22:45:08 +0200 |
---|---|---|
committer | udf | 2019-08-17 22:59:27 +0200 |
commit | 4fc924900fcb49f752b584dd4a0fe13b5f0144c3 (patch) | |
tree | 34ee32850e35cd2cdc65469ffb2e0e808efdb9f1 /always_clear_history_for_everyone.patch | |
parent | 4a94595cc0573e5756d81c97b8a3f59ce4d34da3 (diff) | |
download | aur-4fc924900fcb49f752b584dd4a0fe13b5f0144c3.tar.gz |
Add always_clear_history_for_everyone.patch
Diffstat (limited to 'always_clear_history_for_everyone.patch')
-rw-r--r-- | always_clear_history_for_everyone.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/always_clear_history_for_everyone.patch b/always_clear_history_for_everyone.patch new file mode 100644 index 000000000000..4e4c0121e3f1 --- /dev/null +++ b/always_clear_history_for_everyone.patch @@ -0,0 +1,15 @@ +Description: Selects the "clear history for {other party}" by default + +diff --git a/Telegram/SourceFiles/boxes/confirm_box.cpp b/Telegram/SourceFiles/boxes/confirm_box.cpp +index 1f392acb9..dccf06391 100644 +--- a/Telegram/SourceFiles/boxes/confirm_box.cpp ++++ b/Telegram/SourceFiles/boxes/confirm_box.cpp +@@ -522,7 +522,7 @@ void DeleteMessagesBox::prepare() { + : st::attentionBoxButton); + } + if (auto revoke = revokeText(peer)) { +- _revoke.create(this, revoke->checkbox, false, st::defaultBoxCheckbox); ++ _revoke.create(this, revoke->checkbox, true, st::defaultBoxCheckbox); + appendDetails(std::move(revoke->description)); + } + } else if (_moderateFrom) {
\ No newline at end of file |