aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/stream_item.bb
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-01-15 07:22:19 -0500
committerAndrew Manning <tamanning@zoho.com>2017-01-15 07:22:19 -0500
commit128d47430d4aec5d5aadba4b6e8d5c66ead7be3f (patch)
tree3fba77da745759e98604f71c707c71a9cb1c6ba1 /doc/hook/stream_item.bb
parent639966622f037528fba111c77093da2555d9d94a (diff)
downloadvolse-hubzilla-128d47430d4aec5d5aadba4b6e8d5c66ead7be3f.tar.gz
volse-hubzilla-128d47430d4aec5d5aadba4b6e8d5c66ead7be3f.tar.bz2
volse-hubzilla-128d47430d4aec5d5aadba4b6e8d5c66ead7be3f.zip
pull latest doco from dev branch
Diffstat (limited to 'doc/hook/stream_item.bb')
-rw-r--r--doc/hook/stream_item.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/hook/stream_item.bb b/doc/hook/stream_item.bb
new file mode 100644
index 000000000..30086961d
--- /dev/null
+++ b/doc/hook/stream_item.bb
@@ -0,0 +1,13 @@
+[h2]stream_item[/h2]
+
+
+Called for each item processed for viewing by conversation();
+
+The hook data consists of an array
+
+ array(
+ 'mode' => current mode of conversation()
+ 'item' => item being processed
+ );
+
+ Set item['blocked'] to block the item from viewing. This action will not affect comment or sub-thread counts, so if there are three comments in a conversation and you block one, three comments will still be reported even though only two are visible.