Make history messages work with fixed_irc_server

fix #3209
This commit is contained in:
louiz’
2016-09-20 19:02:12 +02:00
parent f8112468a7
commit 93ebf45f30
2 changed files with 104 additions and 4 deletions
+1 -1
View File
@@ -764,7 +764,7 @@ void Bridge::send_room_history(const std::string& hostname, const std::string& c
for (const auto& line: lines)
{
const auto seconds = line.date.value().timeStamp();
this->xmpp.send_history_message(chan_name + "%" + hostname, line.nick.value(), line.body.value(),
this->xmpp.send_history_message(chan_name + utils::empty_if_fixed_server("%" + hostname), line.nick.value(), line.body.value(),
this->user_jid + "/" + resource, seconds);
}
#endif