[JDEV] Net::Jabber and envelopes
Ryan Eatmon
reatmon at ti.com
Thu Sep 7 07:55:18 CDT 2000
You're confused because the Net::Jabber modules don't support the
x:envelope namespace yet. I'll look into adding that soon.
Ryan
Chris wrote:
>
> I'm trying to get my pager-transport to respond to the envelope "from"
> vs. the message "from" to prevent loops caused by mod_filter, but
>
> my $message = new Net::Jabber::Message(@_);
> print "Recd: ",$message->GetXML(),"\n";
> #prints the message and shows the envelope
>
> my @tags = $message->GetX("jabber:x:envelope");
> my $tag;
> foreach $tag (@tagsub messageCB {
> {
> print "$tag\n";
> }
> # doesn't print anything
>
> Where am I confused?
>
>
> --
> Hlade's Law:
> If you have a difficult task, give it to a lazy person --
> they will find an easier way to do it.
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
Ryan Eatmon reatmon at ti.com
-----------------------------------------
Mixed Signal Product Development EDA Team
More information about the JDev
mailing list