Ignore:
Timestamp:
Sep 16, 2009, 11:06:50 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
443eea1
Parents:
2fa9f803
git-author:
Nelson Elhage <nelhage@mit.edu> (09/16/09 22:19:31)
git-committer:
Nelson Elhage <nelhage@mit.edu> (09/16/09 23:06:50)
Message:
Default to publish_tweets if there is a single account.
File:
1 edited

Legend:

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

    r2fa9f803 rf0de278  
    124124        }
    125125    }
     126}
     127
     128# If there is only a single account, make publish_tweets default to
     129# true.
     130if (scalar @$raw_cfg == 1 && !exists($raw_cfg->[0]{publish_tweets})) {
     131    $raw_cfg->[0]{publish_tweets} = 1;
    126132}
    127133
Note: See TracChangeset for help on using the changeset viewer.