From da611f505c0e9a8d8476de272967891efba48872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 5 Mar 2017 15:05:51 +0100 Subject: Facebook: Fix reseting chat name When user changed thread name from website and set it to "", in Miranda it previously stay "". Now it correctly generates new name from participant names. --- utils/std_string_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/std_string_utils.h') diff --git a/utils/std_string_utils.h b/utils/std_string_utils.h index 96ee5ca4d9..2c72e3a918 100644 --- a/utils/std_string_utils.h +++ b/utils/std_string_utils.h @@ -76,7 +76,7 @@ namespace utils std::string truncate_utf8(const std::string &text, size_t maxLength); void explode(std::string str, const std::string &separator, std::vector* results); void append_ordinal(unsigned long value, std::string* data); - std::wstring prepare_name(const std::wstring &name, bool withSurnameLetter); + std::string prepare_name(const std::string &name, bool withSurnameLetter); }; namespace conversion -- cgit v1.2.3