aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/discover_channel_webfinger.bb
blob: b0eb5f2c43696c266bfb57a65507ad9d0074a2d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.