Revert "Use a different Date data type"

This reverts commit 857c7d3972.
This commit is contained in:
louiz’
2018-04-24 20:25:40 +02:00
parent a90f196a1c
commit 61de6b1dac
22 changed files with 46 additions and 415 deletions
+2 -2
View File
@@ -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;