Airbnb on Friday agreed that it would drop the suit as long as New York City only enforces the new law against hosts and does not fine Airbnb itself. The settlement takes effect on Monday. The agreement is a victory for opponents of Airbnb. The company and New York authorities have battled for years over the legality of offering short-term lodging through the platform, and the relationship has long been inconsistent.