Add include_entities for direct messages. Should not do anything, but just to be sure...
This commit is contained in:
parent
4755215271
commit
d05cb6f086
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ def getTweets(db=dbtools.dbHelper(), user=twitools.twObject().whoami(), two=twit
|
|||
def getMessages(db=dbtools.dbHelper(), two=twitools.twObject()):
|
||||
mcount = 0
|
||||
savepoint = db.getLatestMessage() + 1
|
||||
new_messages = two.api.direct_messages(since_id=savepoint, count=200, full_text=True)
|
||||
new_out_messages = two.api.sent_direct_messages(since_id=savepoint, count=200, full_text=True)
|
||||
new_messages = two.api.direct_messages(since_id=savepoint, count=200, full_text=True, include_entities=True)
|
||||
new_out_messages = two.api.sent_direct_messages(since_id=savepoint, count=200, full_text=True, include_entities=True)
|
||||
|
||||
for m in (new_messages + new_out_messages):
|
||||
if dbtools.fillerfilter.messageFilter(m, True):
|
||||
|
|
Loading…
Reference in a new issue