Hi,
I tried to run ChatBot with JiveMessenger,
but it crashes in function XML::Stream::OpenStream.
This happens after a successful login when ChatBot is trying
to open the second stream. The problem is that JiveMessenger
assigns the second stream the same ID as to the first one
(but the first one is still open).
I am not an expert in XMPP protocol and don’'t know whether
this is a legal behavior - to give different streams the same ID.
But Stream.pm v 1.22 crashes on line
if (exists($self->GetRoot($sid)->)
because line
delete($self->->{$currsid}); just deleted the new stream because it has the same ID
as the old one. As a temporary fix I deleted this line
delete($self->->{$currsid});
and ChatBot is working OK now.
But where is the bug? Is it in Jive or in Stream.pm?
Thank you
John