diff options
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r-- | protocols/FacebookRM/src/connection.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp index 3372d671d2..1582056033 100644 --- a/protocols/FacebookRM/src/connection.cpp +++ b/protocols/FacebookRM/src/connection.cpp @@ -63,6 +63,13 @@ void FacebookProto::ChangeStatus(void*) facy.pages.clear(); facy.typers.clear(); + // Clear thread/user id caches? + /* Right now it's commented out because it's not really needed to erase - maybe only when user changes login/pass in same account, but even then it shouldn't cause problems + facy.thread_id_to_user_id.clear(); + facy.chat_id_to_hcontact.clear(); + facy.user_id_to_hcontact.clear(); + */ + // Close connection handle if (facy.hFcbCon) Netlib_CloseHandle(facy.hFcbCon); |