diff options
author | Cho <cho@lindenlab.com> | 2013-07-04 01:29:54 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-07-04 01:29:54 +0100 |
commit | ad8aeecb8331ca68eef9a12536c80a4658885ccb (patch) | |
tree | 6148fe3c447015dfc2a46aaad685c91140913311 /indra/newview/llfacebookconnect.cpp | |
parent | 1dbabed6b5bac8a0fcc1d9a70522eb726e01bae7 (diff) |
Added auto-connect upon 404 from a POST in LLFacebookConnect, and added FB_POSTED state, for ACME-667
Diffstat (limited to 'indra/newview/llfacebookconnect.cpp')
-rw-r--r-- | indra/newview/llfacebookconnect.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfacebookconnect.cpp b/indra/newview/llfacebookconnect.cpp index 30fb63084b..07204531de 100644 --- a/indra/newview/llfacebookconnect.cpp +++ b/indra/newview/llfacebookconnect.cpp @@ -145,7 +145,11 @@ public: toast_user_for_success(); LL_DEBUGS("FacebookConnect") << "Post successful. content: " << content << LL_ENDL; - LLFacebookConnect::instance().setConnectionState(LLFacebookConnect::FB_CONNECTED); + LLFacebookConnect::instance().setConnectionState(LLFacebookConnect::FB_POSTED); + } + else if (status == 404) + { + LLFacebookConnect::instance().connectToFacebook(); } else { |