[JDEV] Security/Encryption Issues

Andrew J. Lynn andy at perceptivenetworks.com
Tue Aug 8 13:02:41 CDT 2000


> Next, for the presence issues there are two interesting points here.  First,
> the server already allows you to send specialized presence to a particular
> user.  This would allow me to send my boss a certain presence, while my global
> presence is something else.  This is achieved by sending a regular presence tag
> with a to attribute to the user you wish to have specific presencd towards.
> Next, you can also use the new mod_filter for changing many different things.
> It is currently in cvs, and will probably go out with the 1.0.1 release (yes,
> you heard it here first) that will be going out hopefully tonight or tomorrow.
> I'll try and get Keith to put up a jabber.org post about it.

Thanks, that's a useful thing to know.  Is mod_filter documented anywhere?  I hadn't
heard of it, though maybe that's because I haven't gone far into the server code.

Somewhat related:

Going back over the documentation I see that the presence element has a type field
that is available | unavailable | subscribe | subscribed | unsubscribe | unsubscribed
| probe.  The JabberCOM documentation gives JabberPresenceType as the type for
PresType in the SendPresence method, which I assume is an enum in Delphi.  VC++
imports this as "long PresenceType".  It's been forever since I've thought about
Pascal.  Can anybody tell me what the mapping here is?  Is it 0 = available | 1 =
unavailable | 2 = subscribe | 3 = subscribed | 4 = unsubscribe | 5 = unsubscribed | 6
= probe?

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: andy.vcf
Type: text/x-vcard
Size: 320 bytes
Desc: Card for Andrew J. Lynn
URL: <https://www.jabber.org/jdev/attachments/20000808/389127d2/attachment-0002.vcf>


More information about the JDev mailing list