server: don't encode addresses in contacts_handlers

Seems it doesn't always play nice with composer
This commit is contained in:
Dirk-Jan C. Binnema
2023-02-28 23:23:52 +02:00
parent b918690a2a
commit 413a2564b6
3 changed files with 6 additions and 8 deletions

View File

@ -41,7 +41,6 @@ needs_quoting(const std::string& name)
std::string
Contact::display_name(bool quote) const
{
if (name.empty())
return email;
else if (!quote || !needs_quoting(name))