summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2019-09-23 22:17:27 +0200
committerlouiz’ <louiz@louiz.org>2019-09-23 22:17:27 +0200
commit3339ce2cc0be9cc15a6cd9571025846edd1bef20 (patch)
tree0f3fd9917870fdd20998d55efc638dc152fc0ba9 /src/xmpp
parentb7b54d8f0e08107508e7d74666a1bfb00e06aa5d (diff)
downloadbiboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.tar.gz
biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.tar.bz2
biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.tar.xz
biboumi-3339ce2cc0be9cc15a6cd9571025846edd1bef20.zip
Trivial little naming changes
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/xmpp_component.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 35e1672..a16c0f5 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -298,8 +298,8 @@ void XmppComponent::send_message(const std::string& from, Xmpp::body&& body, con
{
XmlSubNode private_node(message, "private");
private_node["xmlns"] = "urn:xmpp:carbons:2";
- XmlSubNode nocopy(message, "no-copy");
- nocopy["xmlns"] = "urn:xmpp:hints";
+ XmlSubNode nocopy_node(message, "no-copy");
+ nocopy_node["xmlns"] = "urn:xmpp:hints";
}
if (muc_private)
{
@@ -590,8 +590,8 @@ void XmppComponent::send_version(const std::string& id, const std::string& jid_t
name.set_inner("biboumi");
}
{
- XmlSubNode version(query, "version");
- version.set_inner(SOFTWARE_VERSION);
+ XmlSubNode version_node(query, "version");
+ version_node.set_inner(SOFTWARE_VERSION);
}
{
XmlSubNode os(query, "os");