From 6c4788805f2df5b0953010d54c59a3ed71ea5031 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 22 Aug 2019 17:28:56 +0300 Subject: attempt to make Facebook happy --- protocols/FacebookRM/src/main.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'protocols/FacebookRM/src/main.cpp') diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index 0ce184d4aa..b309767406 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -76,17 +76,7 @@ int CMPlugin::Load() InitContactMenus(); // Init native User-Agent - MFileVersion v; - Miranda_GetFileVersion(&v); - std::stringstream agent; - agent << "Miranda NG/" << v[0] << "." << v[1] << "." << v[2]; -#ifdef _WIN64 - agent << " Facebook Protocol RM x64/"; -#else - agent << " Facebook Protocol RM/"; -#endif - agent << __VERSION_STRING_DOTS; - g_strUserAgent = agent.str(); + g_strUserAgent = "Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0"; // Initialize random generator (used only as fallback in utils) srand(::time(0)); -- cgit v1.2.3