Ignore retweets in strict mode
Signed-off-by: jolheiser <john.olheiser@gmail.com>pull/4/head
parent
35ee2c2d34
commit
d94701fcfb
|
@ -34,6 +34,10 @@ func (t *Twitter) Tweet(tweet *twitter.Tweet) {
|
|||
beaver.Debug("tweet is a reply")
|
||||
return
|
||||
}
|
||||
if tweet.RetweetedStatus != nil {
|
||||
beaver.Debug("tweet is a retweet")
|
||||
return
|
||||
}
|
||||
var match bool
|
||||
for _, id := range t.Filter.Follows {
|
||||
if id == tweet.User.IDStr {
|
||||
|
|
Loading…
Reference in New Issue