Introduce the realname_from_jid option

When set to true, the realname and username are extracted (by default) from
the user’s JID

fix #3136
This commit is contained in:
Florent Le Coz
2015-10-12 17:14:29 +02:00
parent 84aafab604
commit 1aa2c2d857
5 changed files with 39 additions and 10 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ class Bridge;
class IrcClient: public TCPSocketHandler
{
public:
explicit IrcClient(std::shared_ptr<Poller> poller, const std::string& hostname, const std::string& username, Bridge* bridge);
explicit IrcClient(std::shared_ptr<Poller> poller, const std::string& hostname,
const std::string& nickname, const std::string& username,
const std::string& realname, Bridge* bridge);
~IrcClient();
/**
* Connect to the IRC server