diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index 10fb6cec..3fabdef3 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -62,7 +62,7 @@ class Session(object): self.db[name] = [] for i in data: if utils.find_item(i["id"], self.db[name]) == None and utils.is_allowed(i, self.settings["twitter"]["ignored_clients"]) == True: - i = self.check_quoted_status(i) +# i = self.check_quoted_status(i) if self.settings["general"]["reverse_timelines"] == False: self.db[name].append(i) else: self.db[name].insert(0, i) num = num+1 diff --git a/src/twitter/buffers/stream.py b/src/twitter/buffers/stream.py index c33b0492..d0f8d1d5 100644 --- a/src/twitter/buffers/stream.py +++ b/src/twitter/buffers/stream.py @@ -36,12 +36,13 @@ class streamer(TwythonStreamer): if utils.find_item(data["id"], self.session.db[place]) != None: log.error("duplicated tweet. Ignoring it...") return - data = self.session.check_quoted_status(data) +# data = self.session.check_quoted_status(data) if self.session.settings["general"]["reverse_timelines"] == False: self.session.db[place].append(data) else: self.session.db[place].insert(0, data) utils.is_audio(data) + def block_user(self, data): id = data["target"]["id"] if id in self.friends: