summaryrefslogtreecommitdiff
path: root/xmppdaemon.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-26 16:31:03 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-26 16:31:03 -0400
commit48cac45fd9e2c13ee66b32059552acf831515599 (patch)
tree9b1d44cb788d2d3c5fbc727cb48d45c357974049 /xmppdaemon.php
parent31b5ae1523c4f64159f00b32683912da1a9fb474 (diff)
don't bother with subscription hoohaw; just ask the user to do it
darcs-hash:20080626203103-34904-19ef53bc734622a310a705608f3e227e2f387904.gz
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);