mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Fixed a bug when the user unfollows someone
This commit is contained in:
parent
0e3a4372b8
commit
b0bbe5719f
@ -100,7 +100,7 @@ class streamer(TwythonStreamer):
|
||||
if "friends" in self.session.settings["general"]["buffer_order"]:
|
||||
item = utils.find_item(data["target"]["id"], self.session.db["friends"]["items"])
|
||||
if item > 0:
|
||||
self.friends["items"].pop(item)
|
||||
self.friends.pop(item)
|
||||
pub.sendMessage("unfollowing", item=item, user=self.get_user())
|
||||
|
||||
def on_success(self, data):
|
||||
|
Loading…
Reference in New Issue
Block a user