summaryrefslogtreecommitdiff
path: root/xmppdaemon.php
diff options
context:
space:
mode:
Diffstat (limited to 'xmppdaemon.php')
-rwxr-xr-xxmppdaemon.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php
index 3f2b575e4..cc464f155 100755
--- a/xmppdaemon.php
+++ b/xmppdaemon.php
@@ -194,30 +194,7 @@ class XMPPDaemon {
'Accepted subscription from ' . $from);
break;
case 'subscribed':
- $confirm = $this->get_confirmation($from);
- if ($confirm) {
- $user = User::staticGet($confirm->user_id);
- if ($user) {
- jabber_confirm_address($confirm->code,
- $user->nickname,
- $confirm->address);
- } else {
- $this->log(LOG_WARNING,
- 'got unexpected subscribed message from ' . $from);
- }
- }
case 'unsubscribed':
- $user = $this->get_user($from);
- if ($user) {
- $this->set_notify($user, false);
- }
-
- $confirm = $this->get_confirmation($from);
- if ($confirm) {
- $user = User::staticGet($confirm->user_id);
- if ($user) {
- }
- }
case 'unsubscribe':
$this->log(LOG_INFO,
'Ignoring "' . $pl['type'] . '" from ' . $from);