Dustin Puryear wrote:
>We are working with Jabber 1.4 under AIX thanks to Matt Diez. I am
>setting my presense using:
>
><presence> <status>online</status> <show>online</show></presence>
>
>In error.log I get:
>
>20010830T20:12:42: [warn] (-internal): jsm: Invalid Recipient, returning
>data <presence from='[EMAIL PROTECTED]/Receive'>
><status>online</status> <show>online</show><x xmlns='jabber:x:delay'
>from='[EMAIL PROTECTED]/Receive'
>stamp='20010830T20:12:42'/></presence>
>20010830T20:12:44: [warn] (-internal): jsm: Invalid Recipient, returning
>data <presence from='[EMAIL PROTECTED]/Sender'>
><status>online</status> <show>online</show><x xmlns='jabber:x:delay'
>from='[EMAIL PROTECTED]/Sender'
>stamp='20010830T20:12:44'/></presence>
>
>This doesn't happen under Jabber 1.4 on a Linux box, at least not that I
>can see. At first I was using "Available" instead of "online," but Matt
>suggested I try online. Both generate the above error.
>
>Am I doing something wrong, or is jabberd burping?
>
>Before I started working on this I was also using the <show/> tag:
>
>int xml_set_presence(char *buf, int maxlen, char *status, char *show)
>{
> snprintf(buf, maxlen,
> "<presence>"
> " <status>%s</status>"
> " <show>%s</show>"
> "</presence>",
> status, show);
>
> return 1;
>}
>
>Pretty simple, eh? I'm curious what I am doing wrong, if anything.
>
>Regards, Dustin
>
Along with Jen's comments, the best way to set your original available
presence (if you don't want status msgs) is just <presence/> That
simply means you are available, online and ready to go.
--temas
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev