Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
90
Issues
90
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
442f46c4
Commit
442f46c4
authored
Jan 28, 2018
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
And an other conversion warning
parent
9bf81a2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xmpp/xmpp_component.cpp
src/xmpp/xmpp_component.cpp
+2
-1
No files found.
src/xmpp/xmpp_component.cpp
View file @
442f46c4
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <biboumi.h>
#include <biboumi.h>
#ifdef SYSTEMD_FOUND
#ifdef SYSTEMD_FOUND
# include <systemd/sd-daemon.h>
# include <systemd/sd-daemon.h>
#include <database/database.hpp>
#endif
#endif
using
namespace
std
::
string_literals
;
using
namespace
std
::
string_literals
;
...
@@ -398,7 +399,7 @@ void XmppComponent::send_muc_message(const std::string& muc_name, const std::str
...
@@ -398,7 +399,7 @@ void XmppComponent::send_muc_message(const std::string& muc_name, const std::str
this
->
send_stanza
(
message
);
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"
);
Stanza
message
(
"message"
);
message
[
"to"
]
=
jid_to
;
message
[
"to"
]
=
jid_to
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment