Skip to content

Commit a50d968

Browse files
Bug: add missing event listener for PM
Neither of the other two already registered events would get fired while writing a PM; the new listener code should nw deal with PMs as well (and very likely Quick Reply, too)
1 parent 2fca2d3 commit a50d968

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gwynethllewelyn/postlocalstorage/event/listener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ static public function getSubscribedEvents()
6464
return [
6565
'core.modify_submit_post_data' => 'check_expiry_time',
6666
'core.posting_modify_template_vars' => 'check_expiry_time',
67+
'core.ucp_pm_compose_template' => 'check_expiry_time',
6768
];
6869
}
6970

0 commit comments

Comments
 (0)