diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-12 21:43:05 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-12 21:43:05 -0400 |
commit | 513175982367a970d491948f7d8aa1488f6a4340 (patch) | |
tree | c97fe4dcdd92383144123844fa27fb03ed1af2d9 /doc/hook/change_channel.bb | |
parent | 1e4ef812445e4d8617223ce917d0eb2215e9c3b3 (diff) | |
parent | b6987b4287bb2492b8f4000bdef08b376aa5f265 (diff) | |
download | volse-hubzilla-513175982367a970d491948f7d8aa1488f6a4340.tar.gz volse-hubzilla-513175982367a970d491948f7d8aa1488f6a4340.tar.bz2 volse-hubzilla-513175982367a970d491948f7d8aa1488f6a4340.zip |
Merge remote-tracking branch 'upstream/dev' into website-import
Diffstat (limited to 'doc/hook/change_channel.bb')
-rw-r--r-- | doc/hook/change_channel.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hook/change_channel.bb b/doc/hook/change_channel.bb new file mode 100644 index 000000000..4514b9265 --- /dev/null +++ b/doc/hook/change_channel.bb @@ -0,0 +1,11 @@ +[h2]change_channel[/h2] + +Called when entering a logged in state in a channel context (as opposed to an account context). +The hook array provides two arguments, 'channel_id' and 'chanx'. 'chanx' is a union of the channel +and xchan records for the now active channel. + +Use this to capture what would traditionally be known as 'login events'. In this platform, login is +a separate authentication activity and doesn't necessarily require "connecting to an identity", which +is what the change_channel activity represents. + + |