summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_chatrooms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_chatrooms.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp
index 3491416078..990d1d6cee 100644
--- a/protocols/SkypeWeb/src/skype_chatrooms.cpp
+++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp
@@ -56,9 +56,6 @@ void CSkypeProto::StartChatRoom(const wchar_t *tid, const wchar_t *tname)
void CSkypeProto::OnLoadChats(const NETLIBHTTPREQUEST *response)
{
- if (response == nullptr)
- return;
-
JsonReply reply(response);
if (reply.error())
return;
@@ -367,8 +364,6 @@ void CSkypeProto::AddMessageToChat(const char *chat_id, const char *from, const
void CSkypeProto::OnGetChatInfo(const NETLIBHTTPREQUEST *response, void *p)
{
ptrW topic((wchar_t*)p); // memory must be freed in any case
- if (response == nullptr || response->pData == nullptr)
- return;
JsonReply reply(response);
if (reply.error())