Age | Commit message (Collapse) | Author |
|
fix #2452
|
|
|
|
is created
We want to call socket() with the parameters provided by getaddrinfo, so we
can’t addd the fd into the poller immediately. We need to wait the
connection attempt, and then the SocketHandler can call add_socket_handler
itself, if the connection succeeds, or is in progress.
|
|
|
|
|
|
fix #2524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also remove the duplicate send_self_join methods, user only send_user_join
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The generated XML is very verbose because each IRC formatting tag makes us
close a <span/> element and reopen it with the new style applied. However,
this works quite well and is easy to implement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also correctly respond to PING with the id, escape some XML content, but not
always
|
|
Add all useful classes as well: Jid, Iid, IrcChannel, IrcUser etc to
properly keep the informations about what we receive from the IRC server.
Only handle the MUC join stanza, and send the list of users in the IRC
channel to the XMPP user, and the IRC channel’s topic, for now.
|