mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Minor cleanups in GxsChannels
This commit is contained in:
parent
72dd985162
commit
1d110600fc
@ -1,4 +1,3 @@
|
|||||||
#pragma once
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* libretroshare/src/retroshare: rsgxschannels.h *
|
* libretroshare/src/retroshare: rsgxschannels.h *
|
||||||
* *
|
* *
|
||||||
@ -21,6 +20,7 @@
|
|||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
||||||
* *
|
* *
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -62,9 +62,6 @@ struct RsGxsChannelGroup : RsSerializable
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
std::ostream &operator<<(std::ostream& out, const RsGxsChannelGroup& group);
|
|
||||||
|
|
||||||
|
|
||||||
struct RsGxsChannelPost : RsSerializable
|
struct RsGxsChannelPost : RsSerializable
|
||||||
{
|
{
|
||||||
RsGxsChannelPost() : mCount(0), mSize(0) {}
|
RsGxsChannelPost() : mCount(0), mSize(0) {}
|
||||||
@ -95,8 +92,6 @@ struct RsGxsChannelPost : RsSerializable
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
std::ostream &operator<<(std::ostream& out, const RsGxsChannelPost& post);
|
|
||||||
|
|
||||||
|
|
||||||
class RsGxsChannels: public RsGxsIfaceHelper, public RsGxsCommentService
|
class RsGxsChannels: public RsGxsIfaceHelper, public RsGxsCommentService
|
||||||
{
|
{
|
||||||
|
@ -1033,7 +1033,7 @@ bool p3GxsChannels::createChannel(RsGxsChannelGroup& channel)
|
|||||||
uint32_t token;
|
uint32_t token;
|
||||||
if(!createGroup(token, channel))
|
if(!createGroup(token, channel))
|
||||||
{
|
{
|
||||||
std::cerr << __PRETTY_FUNCTION__ << "Error! Failed updating group."
|
std::cerr << __PRETTY_FUNCTION__ << "Error! Failed creating group."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user