commit 192813fbddc9031071eb9ae1e92d6748529d682f
parent 89b1a5c3e10fed60ffc86bbc60616d963580ffdb
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 17 Feb 2018 13:39:49 +0100
Check later when it is a retweet
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/twitter/twitter.go b/twitter/twitter.go
@@ -215,14 +215,14 @@ func (t *TwitterAPI) GetTweets(tweets []int64) ([]byte, error) {
}
if t.RetweetedStatus != nil {
JT.Retweet = true
- if tweetsSlice[t.RetweetedStatus.IdStr] {
- continue
- }
if retweets[t.RetweetedStatus.IdStr] {
continue
} else {
retweets[t.RetweetedStatus.IdStr] = true
}
+ if tweetsSlice[t.RetweetedStatus.IdStr] {
+ continue
+ }
} else {
JT.Retweet = false
}