@@ -61,14 +61,14 @@ public function hooks() {
61
61
return $ text ;
62
62
}, 10 , 4 );
63
63
64
- Eventy::addAction ( 'conversation.save_send_reply ' , function ( $ conversation , $ request ) {
64
+ Eventy::addAction ( 'conversation.send_reply_save ' , function ( $ conversation , $ request ) {
65
65
if ( ! empty ( $ request ->selected_signature ) ) {
66
66
$ conversation ->selected_signature = $ request ->selected_signature ;
67
67
$ conversation ->save ();
68
68
}
69
69
}, 10 , 2 );
70
70
71
- Eventy::addAction ( 'mailboxes.on_save_settings ' , function ( $ id , $ request ) {
71
+ Eventy::addAction ( 'mailboxes.settings_before_save ' , function ( $ id , $ request ) {
72
72
$ alternativeSignatureCount = $ request ->alternative_signature_count ;
73
73
if ( ! empty ( $ alternativeSignatureCount ) && (int ) $ alternativeSignatureCount > 0 ) {
74
74
for ( $ i = 0 ; $ i < (int ) $ alternativeSignatureCount ; $ i ++ ) {
@@ -115,7 +115,7 @@ public function hooks() {
115
115
}
116
116
}, 10 , 2 );
117
117
118
- Eventy::addAction ( 'conv_editor.before_status_field ' , function ( $ mailbox , $ conversation ) {
118
+ Eventy::addAction ( 'conv_editor.editor_toolbar_prepend ' , function ( $ mailbox , $ conversation ) {
119
119
//Blade render signature field.blade.php
120
120
$ customSignatures = MailboxCustomSignature::where ( 'mailbox_id ' , $ mailbox ->id )->get ();
121
121
echo view ( 'signatures::signature_field ' , [
@@ -125,7 +125,7 @@ public function hooks() {
125
125
] );
126
126
}, 10 , 2 );
127
127
128
- Eventy::addAction ( 'mailboxes.view_after_settings_on_update ' , function ( $ mailbox ) {
128
+ Eventy::addAction ( 'mailboxes.update_after_signature ' , function ( $ mailbox ) {
129
129
//Blade render update.blade.php
130
130
$ customSignatures = MailboxCustomSignature::where ( 'mailbox_id ' , $ mailbox ->id )->get ();
131
131
echo view ( 'signatures::update ' , [
0 commit comments