Changeset 0d53dfb


Ignore:
Timestamp:
Jan 23, 2014, 5:51:53 PM (8 years ago)
Author:
Nelson Elhage <nelhage@nelhage.com>
Branches:
master
Children:
140429f
Parents:
7ff3907
Message:
Kill the client-side tweet length check.

Just let the API do the check. Since we don't shorten URLs, our check
is way wrong anyways.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Twitter/lib/BarnOwl/Module/Twitter/Handle.pm

    r4ebbfbc r0d53dfb  
    371371        $self->twitter_direct($1, $2);
    372372    } elsif(defined $self->{twitter}) {
    373         if(length($msg) > 140) {
    374             die("Twitter: Message over 140 characters long.\n");
    375         }
    376373        $self->twitter_command('update', {
    377374            status => $msg,
Note: See TracChangeset for help on using the changeset viewer.