Ignore:
Timestamp:
May 23, 2010, 12:07:41 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
5756999
Parents:
1fd469d4
git-author:
Nelson Elhage <nelhage@mit.edu> (05/23/10 12:06:23)
git-committer:
Nelson Elhage <nelhage@mit.edu> (05/23/10 12:07:41)
Message:
Twitter: Insert the "@user" into the editwin on replies.

This wasn't possible (or at least wasn't easy) until recently, when
BarnOwl::start_edit_win actually changed the context, instead of
having to wait for the mainloop to pick it up.
File:
1 edited

Legend:

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

    r47a5e46 ra2640485  
    372372    my $msg = shift;
    373373    if(defined($id)) {
    374         $self->twitter("@".$to." ".$msg, $id);
    375     } else {
    376         $self->twitter("@".$to." ".$msg);
     374        $self->twitter($msg, $id);
     375    } else {
     376        $self->twitter($msg);
    377377    }
    378378}
Note: See TracChangeset for help on using the changeset viewer.