mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug causing failure of group autosubscribe in GxsTrans
This commit is contained in:
parent
37edcc1e37
commit
700d114cf4
@ -191,8 +191,8 @@ void p3GxsTrans::handleResponse(uint32_t token, uint32_t req_type)
|
|||||||
{
|
{
|
||||||
RS_STACK_MUTEX(mDataMutex);
|
RS_STACK_MUTEX(mDataMutex);
|
||||||
|
|
||||||
bool shouldSubscribe = !subscribed && ((!old)|| meta.mGroupId == mPreferredGroupId );
|
shouldSubscribe = !subscribed && ((!old)|| meta.mGroupId == mPreferredGroupId );
|
||||||
bool shouldUnSubscribe = subscribed && old && meta.mGroupId != mPreferredGroupId;
|
shouldUnSubscribe = subscribed && old && meta.mGroupId != mPreferredGroupId;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_GXSTRANS
|
#ifdef DEBUG_GXSTRANS
|
||||||
|
Loading…
Reference in New Issue
Block a user