リビジョン 3c5e61d4
みぞ @mizo0203 さんが約7年前に追加
src/com/mizo0203/twitter/timeline/talker/TwitterTimelineTalker.java | ||
---|---|---|
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
final StringBuffer buffer = new StringBuffer(); |
42 |
buffer.append(status.getUser().getName()); |
|
43 |
buffer.append("さんから、"); |
|
44 |
buffer.append(status.getText()); |
|
45 |
System.out.println(buffer); |
|
42 |
|
|
43 |
if (status.isRetweet()) { |
|
44 |
Status retweetedStatus = status.getRetweetedStatus(); |
|
45 |
buffer.append(status.getUser().getName() + "さんがリツイート。"); |
|
46 |
buffer.append(retweetedStatus.getUser().getName() + "さんから、"); |
|
47 |
buffer.append(retweetedStatus.getText()); |
|
48 |
} else { |
|
49 |
buffer.append(status.getUser().getName() + "さんから、"); |
|
50 |
buffer.append(status.getText()); |
|
51 |
} |
|
46 | 52 |
|
47 | 53 |
mTalker.talkAsync(UrlUtil.convURLEmpty(buffer).replaceAll("\n", "。"), mYukkuriVoice); |
48 | 54 |
|
他の形式にエクスポート: Unified diff
Add Talk All Text Retweet. fixes #237 @3h