Skip to content

Commit

Permalink
Merge pull request #86 from two-n/master
Browse files Browse the repository at this point in the history
define quote status earlier
  • Loading branch information
efrymire authored Sep 10, 2018
2 parents b44227c + cede263 commit 91d1942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion read_and_reply.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ module.exports.read_and_reply = read_and_reply = (tweetEvent) => {

console.log(tweetEvent)
console.log(tweetEvent.tweet_create_events[0])
console.log(quoteStatus)

if (tweeter !== 1031985269984165900) {

let quoteStatus = tweetEvent.tweet_create_events[0].is_quote_status
let id = tweetEvent.tweet_create_events[0].id_str
console.log(quoteStatus)

if (quoteStatus) {
let user1 = tweetEvent.tweet_create_events[0].user.screen_name
Expand Down

0 comments on commit 91d1942

Please sign in to comment.