diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2012-01-19 12:21:27 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2012-01-19 12:21:27 +0000 |
commit | e94c705bb01c662d934c0096480bc9a732d0e1ec (patch) | |
tree | a07c6aa2174cf87d62ecfccdde8dbfa56185d78f /FacebookRM/connection.cpp | |
parent | 9b2d93c613db59b7d47327899a0850d370d6ea5e (diff) |
FacebookRM: Version bump
Version 0.0.7.0
+ Support for group chats (EXPERIMENTAL!) - enable it in options
! Fixed loading contact list
! Fixed potential freeze.
Total downloads: (None or statistics not available yet)
Version 0.0.6.1a
Reuploaded.
Total downloads: (None or statistics not available yet)
Version 0.0.6.1
+ Returned option to close chat windows (on website)
+ New option to map non-standard statuses to Invisible (insetad of Online)
+ New option to load contacts, which have "On the Phone" status
! Fixed changing chat visibility
! Very long messages are no longer received duplicitely
! Changes and fixes related to multiuser messages and messages from people, which are not in server-list
Total downloads: (None or statistics not available yet)
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@261 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'FacebookRM/connection.cpp')
-rw-r--r-- | FacebookRM/connection.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/FacebookRM/connection.cpp b/FacebookRM/connection.cpp index b546e79..d871ee1 100644 --- a/FacebookRM/connection.cpp +++ b/FacebookRM/connection.cpp @@ -55,6 +55,8 @@ void FacebookProto::ChangeStatus(void*) ProtoBroadcastAck(m_szModuleName, 0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
+ OnLeaveChat(NULL, NULL);
+
SetAllContactStatuses( ID_STATUS_OFFLINE );
ToggleStatusMenuItems(false);
@@ -83,7 +85,6 @@ void FacebookProto::ChangeStatus(void*) facy.home();
facy.reconnect();
- facy.delete_friends();
facy.load_friends();
setDword( "LogonTS", (DWORD)time(NULL) );
@@ -118,6 +119,7 @@ void FacebookProto::ChangeStatus(void*) facy.chat_state( m_iDesiredStatus != ID_STATUS_INVISIBLE );
facy.buddy_list( );
+ facy.facepiles( );
m_iStatus = facy.self_.status_id = m_iDesiredStatus;
ProtoBroadcastAck(m_szModuleName, 0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
@@ -179,10 +181,14 @@ void FacebookProto::UpdateLoop(void *) for ( int i = -1; !isOffline(); i = ++i % 6 )
{
- if ( i != -1 )
+ if ( i != -1 ) {
if ( !facy.invisible_ )
if ( !facy.buddy_list( ) )
break;
+ if ( getByte( FACEBOOK_KEY_ENABLE_GROUPCHATS, DEFAULT_ENABLE_GROUPCHATS) )
+ if ( !facy.facepiles( ) )
+ break;
+ }
if ( i == 2 && getByte( FACEBOOK_KEY_EVENT_FEEDS_ENABLE, DEFAULT_EVENT_FEEDS_ENABLE ) )
if ( !facy.feeds( ) )
break;
|