mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Ignore dm's coming from streaming API as they are quite different. #215
This commit is contained in:
parent
e9cbe0d825
commit
41582a3770
@ -84,6 +84,7 @@ class streamer(TwythonStreamer):
|
||||
pub.sendMessage("mention", data=data["target_object"], user=self.get_user())
|
||||
|
||||
def process_dm(self, data):
|
||||
return
|
||||
if self.session.db["user_name"] != data["direct_message"]["sender"]["screen_name"]:
|
||||
# d = self.put_data("sent_direct_messages", data["direct_message"])
|
||||
# if d != False:
|
||||
|
Loading…
Reference in New Issue
Block a user