diff options
author | louiz’ <louiz@louiz.org> | 2017-08-27 22:30:44 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-08-27 22:37:46 +0200 |
commit | fcaffb9e778ad5962e69dc23c1fc91eb59a27945 (patch) | |
tree | 99c8270467b67b2dab90235c3ff1147daf1b9422 /src/irc/irc_client.cpp | |
parent | 25243f53c2479e2fda0f1a05d1589c8214b70b4b (diff) | |
download | biboumi-fcaffb9e778ad5962e69dc23c1fc91eb59a27945.tar.gz biboumi-fcaffb9e778ad5962e69dc23c1fc91eb59a27945.tar.bz2 biboumi-fcaffb9e778ad5962e69dc23c1fc91eb59a27945.tar.xz biboumi-fcaffb9e778ad5962e69dc23c1fc91eb59a27945.zip |
Add support for the "history" node on MUC join
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0)
attributes.
fix #3270
Diffstat (limited to 'src/irc/irc_client.cpp')
-rw-r--r-- | src/irc/irc_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index 7776c8d..5f26bf0 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -784,7 +784,7 @@ void IrcClient::on_channel_completely_joined(const IrcMessage& message) channel->joined = true; this->bridge.send_user_join(this->hostname, chan_name, channel->get_self(), channel->get_self()->get_most_significant_mode(this->sorted_user_modes), true); - this->bridge.send_room_history(this->hostname, chan_name); + this->bridge.send_room_history(this->hostname, chan_name, this->history_limit); this->bridge.send_topic(this->hostname, chan_name, channel->topic, channel->topic_author); } |