iframe-bot: Don't show tweets.

(imported from commit 584fdbfa50e2ff1d3526f741e96ef6691fa731e1)
This commit is contained in:
Waseem Daher
2013-08-13 10:41:02 -04:00
parent 7329cedd84
commit 02dba3da11

View File

@@ -144,6 +144,9 @@ for msg in result['messages']:
if msg['type'] != 'stream': if msg['type'] != 'stream':
# Don't show PMs the bot got # Don't show PMs the bot got
continue continue
if msg['sender_full_name'] == 'TwitterBot':
# Don't put tweets in the iframe
continue
uniwrite(f,'<div class="message">') uniwrite(f,'<div class="message">')