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:
committed by
John Preston
parent
5f06279b9a
commit
261a83eda3
@@ -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;
|
||||
|
Reference in New Issue
Block a user