some backend work for the remaining missing bits of mod_hubman - this is still a fair ways from being complete and is not ready for prime time. Basically we'll let a channel send out a public message saying "these are my currently approved locations" and anything that isn't in the list will be marked deleted. We'll send out this message when locations change somehow - either through direct personal involvement (hub revoke, change primary, channel import) or during a system rename or "find bad/obsolete hublocs" activity. This way we won't have clones sending back location info we just got rid of and re-importing the bad entries.

This commit is contained in:
friendica
2014-09-13 16:00:09 -07:00
parent b1809f5f0c
commit 0350b76d85
4 changed files with 258 additions and 6 deletions

View File

@@ -415,8 +415,8 @@ function post_init(&$a) {
* }
*}
*
* Currently defined message types are 'activity', 'mail', 'profile' and 'channel_sync', which each have
* different content schemas.
* Currently defined message types are 'activity', 'mail', 'profile', 'location' and 'channel_sync',
* which each have different content schemas.
*
* Ping packet:
* A ping packet does not require any parameters except the type. It may or may not be encrypted.