diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-09-01 21:44:45 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-09-01 21:44:45 +0000 |
commit | 756ce057cf3aecb1220daebadb3f728f51ef5b5e (patch) | |
tree | ecf3dab8ccdc71bbfed18452077ed2769f6a7098 /protocols/FacebookRM/src/communication.cpp | |
parent | 6c13e88bbfd39fe43ac732dde41672aead181819 (diff) |
Facebook: Rework event notify type from defines and flags to enum
git-svn-id: http://svn.miranda-ng.org/main/trunk@17240 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index f4fd7cf13d..a7002d41e1 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. void facebook_client::client_notify(wchar_t* message) { - parent->NotifyEvent(parent->m_tszUserName, message, NULL, FACEBOOK_EVENT_CLIENT); + parent->NotifyEvent(parent->m_tszUserName, message, NULL, EVENT_CLIENT); } http::response facebook_client::flap(RequestType request_type, std::string *post_data, std::string *get_data) @@ -1645,7 +1645,7 @@ bool facebook_client::post_status(status_data *status) } if (resp.isValid()) { - parent->NotifyEvent(parent->m_tszUserName, TranslateT("Status update was successful."), NULL, FACEBOOK_EVENT_OTHER); + parent->NotifyEvent(parent->m_tszUserName, TranslateT("Status update was successful."), NULL, EVENT_OTHER); return handle_success("post_status"); } @@ -1716,6 +1716,6 @@ bool facebook_client::sms_code(const char *fb_dtsg) return false; } - parent->NotifyEvent(parent->m_tszUserName, TranslateT("Verification SMS code was sent to your mobile phone."), NULL, FACEBOOK_EVENT_OTHER); + parent->NotifyEvent(parent->m_tszUserName, TranslateT("Verification SMS code was sent to your mobile phone."), NULL, EVENT_OTHER); return true; }
\ No newline at end of file |