Tinder introduced a new security feature to ensure the safety of LGBTQ+ users in some hostile nations.

When Tinder users are in a nation in which they can be dangerous to swipe, Tinder begins warning its LGBTQ consumers.

The dating app announced Wednesday that it will tell LGBTQ consumers when they have joined a portion of the globe which criminalizes consensus-based activity and hides its profiles by default, a fresh security feature called Traveler Alerts. The feature will be out in the coming days.

“Travel season is in full swing and our hope is that Traveler Alert will educate users (travelers and locals alike) who may not have been aware of such state-sponsored laws,” Seidman said.

Tinder has been working with the International Lesbian, Gay, Bisexual, Trans and Intersex Association in 190 nations and more than 40 languages to determine which nations still regard same-sex relationships as illegal actions. The alerts include a connection for local legislation on sexual orientation to the ILGA website.

Tinder said in its announcement the move seeks to safeguard individuals in almost 70 nations where legislation is in place aimed at LGBTQ citizens, and in some instances police “have been known to use dating apps as tools for potential entrapment.”

Tinder said that when you open the app in a region of discriminatory law individuals that have identified as LGBTQ in the app will no longer automatically display their profiles. People can then stay hidden or choose to publish their profile.

The firm said that people who use Tinder Passport— its connection function to customers in other nations— will also see the warning if they have changed their place to one of the areas of danger before any prospective matches appear.

The update is a direct reaction to the choice of the company in June to add fresh sexual orientation alternatives, according to Tinder CEO Elie Seidman. Up to three out of nine terms can now be selected which best describe their sexual orientation, and displayed on profiles. The conditions include: straight, homosexual, lesbian, bisexual, asexual, demisexual, transgender and questioning (pansexual, queer). In the past, individuals had been restricted to choosing the males, females and both preferences.

“As our team discussed the ability to add your orientation to your profile and display it, the conversation quickly shifted to focus on how this could put users in some areas at risk. Before rolling out Orientations more widely, we wanted to build an update to address this and work with the experts to do so,” Seidman told CNN business.

The guidance function is accessible presently in English only.