]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - EVENTS.txt
New events for overriding scope checks
[quix0rs-gnu-social.git] / EVENTS.txt
index 5fb775c76562e94cc2dccaf9dc3891a447d726cc..eb3edb9b138d8587ae98c8f7be4c93fbcb5e261f 100644 (file)
@@ -1430,3 +1430,15 @@ StartShowNoticeOptionItems: Before showing first controls in a notice list item;
 
 EndShowNoticeOptionItems: After showing last controls in a notice list item; inside the div
 - $nli: NoticeListItem being shown
+
+StartNoticeInScope: Before checking if a notice should be visible to a user
+- $notice: The notice to check
+- $profile: The profile to check for scope
+- &$bResult: The boolean result; fill this in if you want to skip
+
+EndNoticeInScope: After checking if a notice should be visible to a user
+- $notice: The notice to check
+- $profile: The profile to check for scope
+- &$bResult: The boolean result; overwrite this if you so desire
+
+