def followee_posted(): Actions.followee_posted(author, comment) #TODO this should happen because of the above Actions.followee_posted for follower_id in author.redis.new_followers.zrange(0, -1): RealtimeChannel('user:{}:rt_tab_badges'.format(follower_id), 1).publish({'tab_badge_update': 'home'})
def followee_posted(): Actions.followee_posted(author, comment)
def followee_posted(): Actions.followee_posted(author, comment) # TODO this should happen because of the above Actions.followee_posted for follower_id in author.redis.new_followers.zrange(0, -1): RealtimeChannel("user:{}:rt_tab_badges".format(follower_id), 1).publish({"tab_badge_update": "home"})