diff options
Diffstat (limited to 'src/bridge')
-rw-r--r-- | src/bridge/bridge.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp index defb9a5..1c646fe 100644 --- a/src/bridge/bridge.cpp +++ b/src/bridge/bridge.cpp @@ -1009,9 +1009,9 @@ void Bridge::send_room_history(const std::string& hostname, std::string chan_nam chan_name.append(utils::empty_if_fixed_server("%" + hostname)); for (const auto& line: lines) { - const DateTime& datetime = line.col<Database::Date>(); + const auto seconds = line.col<Database::Date>(); this->xmpp.send_history_message(chan_name, line.col<Database::Nick>(), line.col<Database::Body>(), - this->user_jid + "/" + resource, datetime); + this->user_jid + "/" + resource, seconds); } #else (void)hostname; |