Changeset 8106870


Ignore:
Timestamp:
Sep 9, 2010, 1:24:28 AM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
f544216
Parents:
ad7cc2f
git-author:
Anders Kaseorg <andersk@mit.edu> (09/08/10 22:30:38)
git-committer:
Anders Kaseorg <andersk@mit.edu> (09/09/10 01:24:28)
Message:
Twitter: BarnOwl::quote the replycmd

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

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

    r5d59c1e r8106870  
    3434        return $self->replysendercmd;
    3535    } elsif(exists($self->{status_id})) {
    36         return 'twitter-atreply ' . $self->sender . " " . $self->{status_id} . " " . $self->account;
     36        return BarnOwl::quote('twitter-atreply', $self->sender, $self->{status_id}, $self->account);
    3737    } else {
    38         return 'twitter-atreply ' . $self->sender . " " . $self->account;
     38        return BarnOwl::quote('twitter-atreply', $self->sender, $self->account);
    3939    }
    4040}
     
    4242sub replysendercmd {
    4343    my $self = shift;
    44     return 'twitter-direct ' . $self->sender . " " . $self->account;
     44    return BarnOwl::quote('twitter-direct', $self->sender, $self->account);
    4545}
    4646
Note: See TracChangeset for help on using the changeset viewer.