When joining a channel, send the most recent history found in the database
This commit is contained in:
@@ -755,7 +755,9 @@ void IrcClient::on_channel_completely_joined(const IrcMessage& message)
|
||||
const std::string chan_name = utils::tolower(message.arguments[1]);
|
||||
IrcChannel* channel = this->get_channel(chan_name);
|
||||
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_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_topic(this->hostname, chan_name, channel->topic, channel->topic_author);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user