summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-01-28 14:15:34 +0100
committerlouiz’ <louiz@louiz.org>2018-01-28 14:15:34 +0100
commit442f46c4acf728e7a189327598a0ea3d33010d82 (patch)
treeed8192aa78ea6194e04df0e3516902ff56c07fd5 /src
parent9bf81a2c04eddabd0f09ea9157e6e7c97bea88f5 (diff)
downloadbiboumi-442f46c4acf728e7a189327598a0ea3d33010d82.tar.gz
biboumi-442f46c4acf728e7a189327598a0ea3d33010d82.tar.bz2
biboumi-442f46c4acf728e7a189327598a0ea3d33010d82.tar.xz
biboumi-442f46c4acf728e7a189327598a0ea3d33010d82.zip
And an other conversion warning
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/xmpp_component.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 8f6826e..053fc3e 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -22,6 +22,7 @@
#include <biboumi.h>
#ifdef SYSTEMD_FOUND
# include <systemd/sd-daemon.h>
+#include <database/database.hpp>
#endif
using namespace std::string_literals;
@@ -398,7 +399,7 @@ void XmppComponent::send_muc_message(const std::string& muc_name, const std::str
this->send_stanza(message);
}
-void XmppComponent::send_history_message(const std::string& muc_name, const std::string& nick, const std::string& body_txt, const std::string& jid_to, std::time_t timestamp)
+void XmppComponent::send_history_message(const std::string& muc_name, const std::string& nick, const std::string& body_txt, const std::string& jid_to, Database::time_point::rep timestamp)
{
Stanza message("message");
message["to"] = jid_to;