Peter Saint-Andre <[EMAIL PROTECTED]> writes: >> >Is that simply the state of the world, or have I missed any >> program? > > That's the state of the world -- there is a good reason why I refer to > this JEP as "poor, neglected JEP-0050"... ;-)
That's sad... I imagine a lot of toys that could be based upon it. For one thing, the jabber.org mailing lists... it would be neat to be able to set subscription options through Jabber. > What is the command that you use to set the remote presence? The client sends: <iq from='[EMAIL PROTECTED]/emacs' to='[EMAIL PROTECTED]/emacs' type='set' id='emacs-iq-16463.21421.112535'> <command xmlns='http://jabber.org/protocol/commands' node='presence' action='execute'/> </iq> The server responds: <iq from='[EMAIL PROTECTED]/emacs' to='[EMAIL PROTECTED]/emacs' type='result' id='emacs-iq-16463.21421.112535'> <command xmlns='http://jabber.org/protocol/commands' sessionid='jabber-ahc-presence' node='presence' status='executing'> <x xmlns='jabber:x:data' type='form'> <title>Set presence of [EMAIL PROTECTED]/emacs</title> <instructions>Select new presence status.</instructions> <field var='show' label='Show' type='list-single'> <value>online</value> <option label='Online'><value>online</value></option> <option label='Chatty'><value>chat</value></option> <option label='Away'><value>away</value></option> <option label='Extended away'><value>xa</value></option> <option label='Do not disturb'><value>dnd</value></option> </field> <field var='status' label='Status text' type='text-single'><value>At home</value></field> <field var='priority' label='Priority' type='text-single'><value>10</value></field> </x> </command> </iq> The 'from' and 'to' attributes are equal in this example, and that's why I'm asking ;-) The user fills in the x:data form, the client sends it, and the server changes its presence and sends a notification of success. Magnus _______________________________________________ jdev mailing list [EMAIL PROTECTED] https://jabberstudio.org/mailman/listinfo/jdev
