forked from GNUsocial/gnu-social
ForceGroup plugin: optionally force new users to join a particular group or set of groups on registration; and/or to force posts by members of particular groups to be posted into those groups even if not explicitly mentioned. The posting feature requires a couple quick hook additions in core.
This commit is contained in:
@@ -78,13 +78,19 @@ class DistribQueueHandler
|
||||
}
|
||||
|
||||
try {
|
||||
Event::handle('EndNoticeSave', array($notice));
|
||||
// Enqueue for other handlers
|
||||
Event::handle('EndNoticeDistribute', array($notice));
|
||||
} catch (Exception $e) {
|
||||
$this->logit($notice, $e);
|
||||
}
|
||||
|
||||
try {
|
||||
Event::handle('EndNoticeSave', array($notice));
|
||||
} catch (Exception $e) {
|
||||
$this->logit($notice, $e);
|
||||
}
|
||||
|
||||
try {
|
||||
// Enqueue for other handlers
|
||||
common_enqueue_notice($notice);
|
||||
} catch (Exception $e) {
|
||||
$this->logit($notice, $e);
|
||||
|
Reference in New Issue
Block a user