Sending messages between Peels users.
Conversations can only begin when a donor messages a host.
Some of our hosts have multiple listings. When they get a message from a donor, they might not know which listing that person is talking about. To help these hosts out, we’ve added a boolean owner_has_multiple_non_residential_listings column to the listings_public_data view, so we can tell the hosts which listing is in question.
The same logic has been applied in chat_threads_with_participants for easier access in the email body.
We’ve excluded residential listings from this because they don’t have names (and I believe there aren’t any hosts with 2+ residential listings. If this becomes a problem in the future, we could consider differentiating them to hosts by area_name.