From dae0eee5cac2a349102d78f71c03686a83866bb7 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Mon, 24 Jan 2022 17:50:56 +0300 Subject: We do not need to translate account names --- protocols/Facebook/src/proto.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'protocols/Facebook/src') diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp index b6e841a703..7a1d8b1c93 100644 --- a/protocols/Facebook/src/proto.cpp +++ b/protocols/Facebook/src/proto.cpp @@ -88,13 +88,10 @@ FacebookProto::FacebookProto(const char *proto_name, const wchar_t *username) : m_szSyncToken = getMStringA(DBKEY_SYNC_TOKEN); // Create standard network connection - wchar_t descr[512]; - mir_snwprintf(descr, TranslateT("%s (server)"), m_tszUserName); - NETLIBUSER nlu = {}; nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE; nlu.szSettingsModule = m_szModuleName; - nlu.szDescriptiveName.w = descr; + nlu.szDescriptiveName.w = m_tszUserName; m_hNetlibUser = Netlib_RegisterUser(&nlu); db_set_resident(m_szModuleName, "UpdateNeeded"); -- cgit v1.2.3