Tinder is planning an update for this week that’ll warn its LGBTQ users when they’re traveling in a country where their dating preferences could put them at legal risk. Called “Traveler Alert,” the feature will automatically hide users’ profiles when they’re traveling abroad in countries where same-sex relationships are illegal. Users can then choose whether they want to stay hidden. If they decide to have a public profile, their sexual orientation or gender identity will be removed for the time being to protect them against law enforcement or individuals who might target them. The alert will only show up if people are on the ground in these countries or if they’re using Tinder Passport to swipe in them.

The Tinder team partnered with the International Lesbian, Gay, Bisexual, Trans and Intersex Association to identify the 69 countries where same-sex relationships are illegal. Punishment for same-sex acts and relationships vary from place to place, but in nine countries, including Iran and Saudi Arabia, prosecutors can seek the death penalty against same-sex acts and relationships.

Other dating apps, including the gay dating app Scruff, also warn users about potential consequences of LGBTQ dating in certain countries. Of course, Tinder counts millions of people around the world as users, and it’s recently begun particularly focusing on courting more users abroad. As it expands its reach, the company needs to keep it users safe and aware of what could happen if they keep their profiles public.