aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/tagged.bb
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-09 18:25:18 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-09 18:25:18 -0800
commitc0260ff7018c1f29cf27d6fdb6ff6c7e4db5fff4 (patch)
tree313727f60ed334b1907e2e13e80763b2100b876d /doc/hook/tagged.bb
parentfba2603304353f83a54addf2b6b8acb52fa7ee87 (diff)
downloadvolse-hubzilla-c0260ff7018c1f29cf27d6fdb6ff6c7e4db5fff4.tar.gz
volse-hubzilla-c0260ff7018c1f29cf27d6fdb6ff6c7e4db5fff4.tar.bz2
volse-hubzilla-c0260ff7018c1f29cf27d6fdb6ff6c7e4db5fff4.zip
more doco
Diffstat (limited to 'doc/hook/tagged.bb')
-rw-r--r--doc/hook/tagged.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/hook/tagged.bb b/doc/hook/tagged.bb
index 5add76713..05d081d07 100644
--- a/doc/hook/tagged.bb
+++ b/doc/hook/tagged.bb
@@ -1 +1,16 @@
[h2]tagged[/h2]
+
+
+This hook is called when a delivery is made which results in the recipient being tagged.
+
+The hook data is an array containing
+
+ array(
+ 'channel_id' => int,
+ 'item' => item structure of the delivered item from database,
+ 'body' => the body of the referenced item
+
+ );
+
+ Note: This hook is called before secondary delivery chains are invoked in the case of tagging a forum. This means that permissions and some item attributes will be those of the item before being re-packaged and before ownership of this item is given to the forum.
+