mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 07:25:36 -04:00
fixed up subscribe Macros and fn for channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
84fe53b611
commit
42c6a9282a
4 changed files with 6 additions and 5 deletions
|
@ -442,7 +442,7 @@ void p3GxsChannels::clearUnsubscribedGroup(const RsGxsGroupId &id)
|
|||
}
|
||||
|
||||
|
||||
void p3GxsChannels::subscribeToGroup(const RsGxsGroupId &groupId, bool subscribe)
|
||||
void p3GxsChannels::subscribeToGroup(uint32_t token, const RsGxsGroupId &groupId, bool subscribe)
|
||||
{
|
||||
std::cerr << "p3GxsChannels::subscribedToGroup() id: " << groupId << " subscribe: " << subscribe;
|
||||
std::cerr << std::endl;
|
||||
|
@ -451,7 +451,6 @@ void p3GxsChannels::subscribeToGroup(const RsGxsGroupId &groupId, bool subscribe
|
|||
groups.push_back(groupId);
|
||||
|
||||
// Call down to do the real work.
|
||||
uint32_t token;
|
||||
RsGenExchange::subscribeToGroup(token, groupId, subscribe);
|
||||
|
||||
// reload Group afterwards.
|
||||
|
|
|
@ -134,7 +134,7 @@ virtual bool acknowledgeVote(const uint32_t& token, std::pair<RsGxsGroupId, RsGx
|
|||
|
||||
|
||||
// Overloaded from RsGxsIface.
|
||||
virtual void subscribeToGroup(const RsGxsGroupId &groupId, bool subscribe);
|
||||
virtual void subscribeToGroup(uint32_t token, const RsGxsGroupId &groupId, bool subscribe);
|
||||
|
||||
// Set Statuses.
|
||||
virtual void setMessageProcessedStatus(uint32_t& token, const RsGxsGrpMsgIdPair& msgId, bool processed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue