Changeset 15608

Show
Ignore:
Timestamp:
07/10/08 14:51:51 (5 years ago)
Author:
yappo
Message:

reply を出すよ

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/misc/WassrPod/wassrpod.pl

    r15607 r15608  
    9494        my $dt = DateTime->from_epoch( epoch => $status->{epoch} ); 
    9595        # $dt->set_time_zone( 'Asia/Tokyo' ); 
     96        my $text = $status->{text}; 
     97        if ($status->{reply_user_login_id}) { 
     98            $text .= sprintf '[Re:%s/%s]', $status->{reply_user_login_id}, $status->{reply_message}; 
     99        } 
    96100        my $tmp = { 
    97101            created_at => $dt->strftime('%a %b %d %T %z %Y'), 
    98102            id => $status->{rid}, 
    99             text => $status->{text}, 
     103            text => $text, 
    100104            source => 'web', 
    101105            truncated => 'false',