summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-12 00:43:39 +0100
committerlouiz’ <louiz@louiz.org>2016-12-12 00:43:39 +0100
commit35e1155232ecc3e1cb526d07db3420b11f4717dd (patch)
treef8f2e42b16f90901a086d251202b0f51dc316b0e /src/xmpp/biboumi_component.cpp
parent59a73c93ec48e9fe1171956f08a59dd85b90d5fe (diff)
downloadbiboumi-35e1155232ecc3e1cb526d07db3420b11f4717dd.tar.gz
biboumi-35e1155232ecc3e1cb526d07db3420b11f4717dd.tar.bz2
biboumi-35e1155232ecc3e1cb526d07db3420b11f4717dd.tar.xz
biboumi-35e1155232ecc3e1cb526d07db3420b11f4717dd.zip
Remove a line from a WIP that should not have been added
Diffstat (limited to 'src/xmpp/biboumi_component.cpp')
-rw-r--r--src/xmpp/biboumi_component.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 246d828..bd05bdc 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -165,7 +165,6 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
{
if (type == "subscribe")
{ // Auto-accept any subscription request for an IRC server
- this->add_to_roster(to_str, from.bare());
this->accept_subscription(to_str, from.bare());
this->ask_subscription(to_str, from.bare());
}