added premium promotion, dropmail.php, dropattach.php, minor update of other files
This commit is contained in:
@@ -66,6 +66,10 @@ class Action extends Component
|
||||
|
||||
private function showAlert($type, $message): void
|
||||
{
|
||||
$check = json_decode(config('app.settings.configuration_settings'))->email_limit;
|
||||
if (strpos($message, $check) !== false) {
|
||||
$this->dispatch('promotePremium');
|
||||
}
|
||||
$this->dispatch('showAlert', ['type' => $type, 'message' => $message]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user