Changeset c1e5316


Ignore:
Timestamp:
Feb 6, 2009, 3:34:39 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
706ff88
Parents:
6babb75
Message:
Display outgoing personal twitters
File:
1 edited

Legend:

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

    r6babb75 rc1e5316  
    235235            text => $msg
    236236           });
     237        if(BarnOwl::getvar("displayoutgoing") eq 'on') {
     238            my $tweet = BarnOwl::Message->new(
     239                type      => 'Twitter',
     240                sender    => $cfg->{user} || $user,
     241                recipient => $who,
     242                direction => 'out',
     243                body      => $msg,
     244                isprivate => 'true'
     245               );
     246            BarnOwl::queue_message($tweet);
     247        }
    237248    }
    238249}
Note: See TracChangeset for help on using the changeset viewer.