mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Show slowmode error messages.
This commit is contained in:
@@ -43,12 +43,17 @@ enum class SendFilesWay {
|
||||
|
||||
class SendFilesBox : public BoxContent {
|
||||
public:
|
||||
enum class SendLimit {
|
||||
One,
|
||||
Many
|
||||
};
|
||||
SendFilesBox(
|
||||
QWidget*,
|
||||
not_null<Window::SessionController*> controller,
|
||||
Storage::PreparedList &&list,
|
||||
const TextWithTags &caption,
|
||||
CompressConfirm compressed);
|
||||
CompressConfirm compressed,
|
||||
SendLimit limit);
|
||||
|
||||
void setConfirmedCallback(
|
||||
Fn<void(
|
||||
@@ -116,6 +121,7 @@ private:
|
||||
|
||||
CompressConfirm _compressConfirmInitial = CompressConfirm::None;
|
||||
CompressConfirm _compressConfirm = CompressConfirm::None;
|
||||
SendLimit _sendLimit = SendLimit::Many;
|
||||
|
||||
Fn<void(
|
||||
Storage::PreparedList &&list,
|
||||
|
Reference in New Issue
Block a user