2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Show restricted date to user (#6642)

* Show restricted date to user
* Fixed attach button toast
* Fixed attach button toast in scheduled messages
This commit is contained in:
RadRussianRus
2019-10-07 17:35:22 +03:00
committed by John Preston
parent 5f06279b9a
commit 261a83eda3
4 changed files with 41 additions and 2 deletions

View File

@@ -3219,7 +3219,7 @@ void HistoryWidget::chooseAttach() {
} else if (const auto error = Data::RestrictionError(
_peer,
ChatRestriction::f_send_media)) {
Ui::Toast::Show(*error);
ShowErrorToast(*error);
return;
} else if (showSlowmodeError()) {
return;