mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed crash in RsGenExchange::subscribeToGroup (request from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7884 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c455623738
commit
e04ee3f446
@ -1071,7 +1071,8 @@ bool RsGenExchange::subscribeToGroup(uint32_t& token, const RsGxsGroupId& grpId,
|
|||||||
setGroupSubscribeFlags(token, grpId, GXS_SERV::GROUP_SUBSCRIBE_NOT_SUBSCRIBED,
|
setGroupSubscribeFlags(token, grpId, GXS_SERV::GROUP_SUBSCRIBE_NOT_SUBSCRIBED,
|
||||||
(GXS_SERV::GROUP_SUBSCRIBE_SUBSCRIBED | GXS_SERV::GROUP_SUBSCRIBE_NOT_SUBSCRIBED));
|
(GXS_SERV::GROUP_SUBSCRIBE_SUBSCRIBED | GXS_SERV::GROUP_SUBSCRIBE_NOT_SUBSCRIBED));
|
||||||
|
|
||||||
mNetService->subscribeStatusChanged(grpId,subscribe) ;
|
if(mNetService != NULL)
|
||||||
|
mNetService->subscribeStatusChanged(grpId,subscribe) ;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user