Name
from — Set by server
Synopsis
<presence from='dj@yak'
/>
Similar to the attribute of the same name in the
<message/>
element,
here the from
attribute is set by
the server and represents the JID from which the availability information
originates.
If you are sending a presence probe, type='probe'
, you must set the
from
attribute yourself, as mentioned
earlier.
Get Programming Jabber now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.