diff options
| author | George Hazan <ghazan@miranda.im> | 2019-08-22 17:28:56 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2019-08-22 17:28:56 +0300 | 
| commit | 6c4788805f2df5b0953010d54c59a3ed71ea5031 (patch) | |
| tree | d4b39ac221b6f36ac06c87dce59074c036fb88d7 /protocols/FacebookRM/src | |
| parent | 85a9927c849a5cefa8a7a9af070aa880ab0e095e (diff) | |
attempt to make Facebook happy
Diffstat (limited to 'protocols/FacebookRM/src')
| -rw-r--r-- | protocols/FacebookRM/src/main.cpp | 12 | 
1 files changed, 1 insertions, 11 deletions
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));
  | 
