Removed useless code paths, made the follow button work correctly
This commit is contained in:
@ -337,9 +337,9 @@ class ChangeFriendship(ApiThread):
|
||||
gtk.gdk.threads_enter()
|
||||
try:
|
||||
if self.follow:
|
||||
self.pane.set_following(success)
|
||||
self.pane.user_box.set_following(success)
|
||||
else:
|
||||
self.pane.set_following(not success)
|
||||
self.pane.user_box.set_following(not success)
|
||||
finally:
|
||||
gtk.gdk.threads_leave()
|
||||
|
||||
|
Reference in New Issue
Block a user