diff options
author | CiaranG <ciaran@ciarang.com> | 2008-08-14 04:38:56 -0400 |
---|---|---|
committer | CiaranG <ciaran@ciarang.com> | 2008-08-14 04:38:56 -0400 |
commit | a0b6ebdd2d8e40ff8694a89bbec1c86c05b2235c (patch) | |
tree | 865031227b364c7f00c4abb1cafb49ae04c17e23 /scripts/xmppdaemon.php | |
parent | 3fba1d51ced27531e033e6dde94c686a681b24d7 (diff) |
Bounce oversized XMPP messages back to user (Ticket #112)
darcs-hash:20080814083856-f6e2c-0e56895260fb96dedaa6a663db7e906fee2f7b05.gz
Diffstat (limited to 'scripts/xmppdaemon.php')
-rwxr-xr-x | scripts/xmppdaemon.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index e067fdcdb..ea5c29dbf 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -138,11 +138,6 @@ class XMPPDaemon extends Daemon { $this->log(LOG_INFO, 'Ignoring OTR from ' . $from); return; } else { - $len = mb_strlen($pl['body']); - if($len > 140) { - $this->from_site($from, 'Message too long - maximum is 140 characters, you sent ' . $len); - return; - } $this->add_notice($user, $pl); } |