diff options
| -rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 9 | ||||
| -rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 3 | 
2 files changed, 11 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 88a9f45b11..ac262389f0 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -138,6 +138,8 @@ void CSkypeProto::StartChatRoom(MCONTACT hChatRoom, bool showWindow)  		CallServiceSync(MS_GC_EVENT, NULL, (LPARAM)&gceg);
  	}
 +	PushRequest(new GetChatInfoRequest(ptrA(getStringA("registrationToken")), ptrA(mir_t2a(tszChatID)), ptrA(getStringA("Server"))), &CSkypeProto::OnGetChatInfo); 
 +
  }
  int CSkypeProto::OnGroupChatMenuHook(WPARAM, LPARAM lParam)
 @@ -277,4 +279,11 @@ void CSkypeProto::OnChatEvent(JSONNODE *node)  	{
  	}
 +}
 +
 +void CSkypeProto::OnGetChatInfo(const NETLIBHTTPREQUEST *response)
 +{
 +	if (response == NULL || response->pData == NULL)
 +		return;
 +	JSONROOT root(response->pData);
  }
\ No newline at end of file diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index e4664d453c..51d00df246 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -203,7 +203,6 @@ private:  	void OnPrivateMessageEvent(JSONNODE *node);
 -
  	// sync
  	void OnGetServerHistory(const NETLIBHTTPREQUEST *response);
  	void SyncHistory();
 @@ -221,6 +220,8 @@ private:  	void StartChatRoom(MCONTACT hChatRoom, bool showWindow = false);
 +	void OnGetChatInfo(const NETLIBHTTPREQUEST *response);
 +
  	INT_PTR __cdecl OnJoinChatRoom(WPARAM hContact, LPARAM);
  	INT_PTR __cdecl OnLeaveChatRoom(WPARAM hContact, LPARAM);
  | 
