aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/change_channel.bb
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-12 21:43:05 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-12 21:43:05 -0400
commit513175982367a970d491948f7d8aa1488f6a4340 (patch)
treec97fe4dcdd92383144123844fa27fb03ed1af2d9 /doc/hook/change_channel.bb
parent1e4ef812445e4d8617223ce917d0eb2215e9c3b3 (diff)
parentb6987b4287bb2492b8f4000bdef08b376aa5f265 (diff)
downloadvolse-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.bb11
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.
+
+