Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
louiz’
biboumi
Commits
6700d5da
Commit
6700d5da
authored
Feb 17, 2014
by
louiz’
Browse files
Fix quit messages not being sent to XMPP
parent
cf9f3a1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xmpp/xmpp_component.cpp
View file @
6700d5da
...
...
@@ -399,7 +399,7 @@ void XmppComponent::send_muc_leave(std::string&& muc_name, std::string&& nick, X
presence
[
"from"
]
=
muc_name
+
"@"
+
this
->
served_hostname
+
"/"
+
nick
;
presence
[
"type"
]
=
"unavailable"
;
const
std
::
string
message_str
=
std
::
get
<
0
>
(
message
);
if
(
message_str
.
empty
()
||
self
)
if
(
!
message_str
.
empty
()
||
self
)
{
XmlNode
status
(
"status"
);
if
(
!
message_str
.
empty
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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