ref: 350d48a5bf2412f5eee347fc832d9257b2ba3fbc biboumi/src/irc/iid.hpp -rw-r--r-- 1.9 KiB
2d11a5f4 — louiz’ 6 years ago
Support multiple nick session, except for IQs

ref #2556
af420738 — louiz’ 6 years ago
Style fix

Move all constructors at the top of classes
82256d40 — Florent Le Coz 8 years ago
Merge branch 'fixed_server'
2df0ebf2 — Florent Le Coz 8 years ago
Add support for a fixed_irc_server configuration

This option lets the administrator choose a specific IRC server, and only
that server can be used with this biboumi instance.

In this mode, JIDs to use are changed like this:

- #chan%irc.example.com@biboumi.example.com      -> #chan@biboumi.example.com
- user!irc.example.com@biboumi.example.com       -> user!@biboumi.example.com
- #chan%irc.example.com@biboumi.example.com/Nick -> #chan@biboumi.example.com/Nick
- %irc.example.com@biboumi.example.com           -> no equivalent
- irc.example.com@biboumi.example.com            -> no equivalent
e1d69806 — Florent Le Coz 8 years ago
Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqs
26ffc8fe — Florent Le Coz 8 years ago
Implement a way to add callbacks, waiting for an IRC event to return an iq
7c1a3899 — Florent Le Coz 8 years ago
Rewrite the whole IID usage

IRC users and channels are now distinguished by the separator used in the
IID (% or !).

ref #2468
a418b6ed — Florent Le Coz 9 years ago
Send and receive messages

Also correctly respond to PING with the id, escape some XML content, but not
bf7b05ef — Florent Le Coz 9 years ago
Implement the Bridge class to translate between the two protocols

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.