From: Magnus H. <leg...@us...> - 2008-12-07 22:11:09
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27750 Modified Files: jabber.texi Log Message: Revision: ma...@fr...--2005/emacs-jabber--cvs-head--0--patch-618 Creator: Magnus Henoch <ma...@fr...> Manual: service discovery Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- jabber.texi 22 Oct 2008 23:12:46 -0000 1.137 +++ jabber.texi 7 Dec 2008 22:11:04 -0000 1.138 @@ -2432,9 +2432,10 @@ Both variables work in the same way. They are alists, where the keys are the node names, and the values are lists of two items. -The first item is the data to return --- either a list or a function -taking the entire IQ stanza and returning a list, this list containing -the XML nodes to include in the @code{<query/>} node in the response. +The first item is the data to return --- either a list, or a function +taking the connection object and the entire IQ stanza and returning a +list; in either case this list contains the XML nodes to include in the +@code{<query/>} node in the response. The second item is the access control function. An access control function receives the JID as its only argument, and returns non-nil if @@ -2442,7 +2443,7 @@ access is always granted. One such function is provided, @code{jabber-my-jid-p}, which grants access for JIDs where the username and server (not necessarily resource) are equal to those of -the user. +the user, or one of the user's configured accounts. @node Chat printers, Stanza chains, Extending service discovery, Hacking and extending @section Chat printers |