summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-08-23 02:30:40 +0200
committerlouiz’ <louiz@louiz.org>2016-08-23 03:30:40 +0200
commit1ffc3677536fd2978c5f4a77fc6148e80ff1256b (patch)
tree1363ab3047894a08bbcd536528379475dfe7ff7d
parentbc31e969e6be0b3e62fb81126c6354b043019406 (diff)
downloadbiboumi-1ffc3677536fd2978c5f4a77fc6148e80ff1256b.tar.gz
biboumi-1ffc3677536fd2978c5f4a77fc6148e80ff1256b.tar.bz2
biboumi-1ffc3677536fd2978c5f4a77fc6148e80ff1256b.tar.xz
biboumi-1ffc3677536fd2978c5f4a77fc6148e80ff1256b.zip
Send the muc history when a second (or more) resource joins a room
-rw-r--r--src/bridge/bridge.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index 9b91474..e24383e 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -984,6 +984,7 @@ void Bridge::generate_channel_join_for_resource(const Iid& iid, const std::strin
this->send_user_join(iid.get_server(), iid.get_encoded_local(),
self, self->get_most_significant_mode(irc->get_sorted_user_modes()),
true, resource);
+ this->send_room_history(iid.get_server(), iid.get_local(), resource);
this->send_topic(iid.get_server(), iid.get_encoded_local(), channel->topic, channel->topic_author, resource);
}