def update_notifies(self, user_id, notifies):
        if notifies in 'friendEmail':
            add_set_key(_FRIEND_EMAIL_KEY, user_id)
        else:
            delete_set_key(_FRIEND_EMAIL_KEY, user_id)
        if 'allEmail' in notifies:
            add_set_key(_ALL_EMAIL_KEY, user_id)
        else:
            delete_set_key(_ALL_EMAIL_KEY, user_id)
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/gameops/friend.py/FriendService.update_notifies/swapped operands of `in`