~singpolyma/biboumi

593b3268273cac2fa58257ee8e51ce1a6de30872 — louiz’ 7 years ago 6776b82
When saving the logs, the date must be in seconds, not nanoseconds
1 files changed, 1 insertions(+), 1 deletions(-)

M src/database/database.cpp
M src/database/database.cpp => src/database/database.cpp +1 -1
@@ 129,7 129,7 @@ void Database::store_muc_message(const std::string& owner, const Iid& iid,
  line.owner = owner;
  line.ircChanName = iid.get_local();
  line.ircServerName = iid.get_server();
  line.date = date.time_since_epoch().count();
  line.date = date.time_since_epoch().count() / 1'000'000'000;
  line.body = body;
  line.nick = nick;