Ignore:
Timestamp:
Jan 9, 2009, 2:58:18 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
b4b5a7e
Parents:
da3596f
Message:
Support sending and receiving direct messages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/BarnOwl/Message/Twitter.pm

    r8618438 r927c186  
    1717sub long_sender {"http://twitter.com/" . shift->sender}
    1818
    19 sub replycmd {'twitter'}
     19sub replycmd {
     20    my $self = shift;
     21    if($self->isprivate) {
     22        return $self->replysendercmd;
     23    } else {
     24        return 'twitter';
     25    }
     26}
     27
     28sub replysendercmd {
     29    my $self = shift;
     30    return 'twitter-direct ' . $self->sender;
     31}
    2032
    2133sub smartfilter {
Note: See TracChangeset for help on using the changeset viewer.