aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-31 18:14:12 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-07 09:30:45 +0200
commit324d427ac722d25067a3b296fd0705385c1a4e6a (patch)
tree92903e5743cc10145fb689674a5a904296293296 /doc/hook
parent84c04cfe1c2ccb95067bc118a16cd70ce2c6ee05 (diff)
downloadvolse-hubzilla-324d427ac722d25067a3b296fd0705385c1a4e6a.tar.gz
volse-hubzilla-324d427ac722d25067a3b296fd0705385c1a4e6a.tar.bz2
volse-hubzilla-324d427ac722d25067a3b296fd0705385c1a4e6a.zip
a slight tweak to author_is_pmable hook to make it useful
Diffstat (limited to 'doc/hook')
-rw-r--r--doc/hook/author_is_pmable.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/hook/author_is_pmable.bb b/doc/hook/author_is_pmable.bb
index 708350673..11d1185f3 100644
--- a/doc/hook/author_is_pmable.bb
+++ b/doc/hook/author_is_pmable.bb
@@ -6,7 +6,7 @@ By default author_is_pmable() returns true for 'zot' xchans, and false for all o
The plugin is passed an array
- [ 'xchan' => $author_xchan, 'result' => 'unset' ]
+ [ 'xchan' => $author_xchan, 'abook' => abook record, 'result' => 'unset' ]
A plugin which sets the 'result' to something besides 'unset' will over-ride the default behaviour. A value of true will enable the 'send mail' link and the private mail recipient will be set to the author's xchan_hash. A value of false will disable the 'send mail' link.