mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-29 00:27:27 -04:00
Get Republishing Pulses working
* Copy Original Pulse data for Republished Pulses * Add LHS | to indicate republish * Update Ref Icon in PulseTopLevel * Add FollowParent button in PulseTopLevel * display republished pulses as part of PulseFocus view
This commit is contained in:
parent
ca2da39167
commit
d0104e0364
8 changed files with 142 additions and 5 deletions
|
@ -201,6 +201,29 @@ void PulseDataItem::actionFollow()
|
|||
}
|
||||
}
|
||||
|
||||
void PulseDataItem::actionFollowParent()
|
||||
{
|
||||
std::cerr << "PulseDataItem::actionFollowParent()";
|
||||
std::cerr << std::endl;
|
||||
|
||||
RsGxsGroupId groupId;
|
||||
if (mPulse->mPulseType & WIRE_PULSE_TYPE_REFERENCE) {
|
||||
std::cerr << "PulseDataItem::actionFollowParent() REF following Group: ";
|
||||
std::cerr << mPulse->mMeta.mGroupId;
|
||||
std::cerr << std::endl;
|
||||
groupId = mPulse->mMeta.mGroupId;
|
||||
} else {
|
||||
std::cerr << "PulseDataItem::actionFollowParent() RESPONSE following RefGroup: ";
|
||||
std::cerr << mPulse->mRefGroupId;
|
||||
std::cerr << std::endl;
|
||||
groupId = mPulse->mRefGroupId;
|
||||
}
|
||||
|
||||
if (mHolder) {
|
||||
mHolder->PVHfollow(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
void PulseDataItem::actionRate()
|
||||
{
|
||||
std::cerr << "PulseDataItem::actionRate()";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue