I'm less than familiar with whatever this Isaac::Bot class is.  It seems to
be spawning a separate thread for dequeing relay actions to IRC, but it
doesn't seem to be doing so for sending messages to XMPP.  You may want to
spawn separate threads to execute the lines that start with "@muc.say".

+=
Erik Elmore




On Sat, Oct 2, 2010 at 7:12 PM, David Vildebrand <[email protected]> wrote:

> I won't ask you to fix their code, but I'm not very good with ruby so I'll
> just go ahead and link this:
> http://github.com/sophsec/xmpp-irc-relay/blob/master//relay.rb
> The sending seems to be happening in to_xmpp which is triggered from inside
> on :channel events.
> Does this help to answer the question?
>
> -------- Original-Nachricht --------
> > Datum: Sat, 2 Oct 2010 18:44:26 -0400
> > Von: Erik Elmore <[email protected]>
> > An: Development list for XMPP4R <[email protected]>
> > Betreff: Re: [XMPP4R] Not able to send to chatrooms using xmpp4r
>
> > Are you trying to send these messages in the event handler thread?
> >
> > +=
> > Erik Elmore
> >
> >
> >
> >
> > On Sat, Oct 2, 2010 at 4:22 PM, David Vildebrand <[email protected]>
> wrote:
> >
> > > I was trying implement a relay between an irc-channel and a
> > xmpp-chatroom
> > > using xmpp-irc-relay from http://github.com/sophsec/xmpp-irc-relaywhich
> > > uses libxmpp4r-ruby1.8 0.5-1 for its xmpp-component. It can join rooms,
> > > receive presences, send presences just fine, but sending messages
> > appears
> > > not to function. I currently can't figure out how to fix this, although
> > I am
> > > getting the feeling that it may be related to the ID of the messages? I
> > > attached a logfile from running debug, where one message is being
> > received
> > > okay and one is being sent with an error as the reply. When the script
> > is
> > > halted using ^C afterwards "DEBUG -- : TRYING TO CLOSE, STILL
> PROCESSING
> > 2
> > > STANZAS" is being repated a lot. Any insight into this matter would be
> > > highly appreciated, I hope someone can figure this out, I've run out of
> > > ideas.
> > >
> > > I also tried several other jabber-clients to establish if that was a
> > > problem on my part, clients not based on xmpp4r seemed to work fine on
> > that
> > > praticular server which clients based on xmpp4r all have shown the same
> > > behaviour, logs in fine, joins the room, receives message but is unable
> > to
> > > send to mucs.
> > >
> > > _______________________________________________
> > > Xmpp4r-devel mailing list
> > > [email protected]
> > > https://mail.gna.org/listinfo/xmpp4r-devel
> > >
> > >
>
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>
> _______________________________________________
> Xmpp4r-devel mailing list
> [email protected]
> https://mail.gna.org/listinfo/xmpp4r-devel
>
_______________________________________________
Xmpp4r-devel mailing list
[email protected]
https://mail.gna.org/listinfo/xmpp4r-devel

Reply via email to