aboutsummaryrefslogtreecommitdiffstats
path: root/doc/en/hook/discover_channel_webfinger.bb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/hook/discover_channel_webfinger.bb')
-rw-r--r--doc/en/hook/discover_channel_webfinger.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/en/hook/discover_channel_webfinger.bb b/doc/en/hook/discover_channel_webfinger.bb
new file mode 100644
index 000000000..b0eb5f2c4
--- /dev/null
+++ b/doc/en/hook/discover_channel_webfinger.bb
@@ -0,0 +1,14 @@
+[h2]discover_channel_webfinger[/h2]
+
+Called after performing channel discovery using RFC7033 webfinger and where the channel is not recognised as zot.
+
+Passed an array:
+
+ address: URL or address that is being discovered
+ success: set to true if the plugin discovers something
+ webfinger: array of webfinger links (output of webfinger_rfc7033())
+
+
+ if your plugin indicates success you are expected to generate and populate an xchan (and hubloc) record prior to returning.
+
+ \ No newline at end of file