mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 07:25:36 -04:00
Use tabs instead of spaces
This commit is contained in:
parent
b55d37efa4
commit
36bab55d8c
1 changed files with 15 additions and 15 deletions
|
@ -723,21 +723,21 @@ bool p3ChatService::initiateDistantChatConnexion( const RsGxsId& to_gxs_id,
|
|||
bool notify )
|
||||
{
|
||||
|
||||
if(to_gxs_id.isNull())
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__ << " Destination RsGxsId is invalid" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (from_gxs_id.isNull())
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__ << " Origin RsGxsId is invalid" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (!rsIdentity->isOwnId(from_gxs_id))
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__ << " Origin RsGxsId id must be own" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if(to_gxs_id.isNull())
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__ << " Destination RsGxsId is invalid" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (from_gxs_id.isNull())
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__ << " Origin RsGxsId is invalid" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (!rsIdentity->isOwnId(from_gxs_id))
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__ << " Origin RsGxsId id must be own" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
if(DistantChatService::initiateDistantChatConnexion( to_gxs_id,
|
||||
from_gxs_id, pid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue