mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-27 11:00:37 -05:00
Send PGP full fingerprint in broadcast discovery
This commit is contained in:
parent
5acb6c266e
commit
2aade543f3
3 changed files with 16 additions and 10 deletions
|
|
@ -41,11 +41,12 @@ class RsBroadcastDiscovery;
|
|||
* TODO: this should become std::weak_ptr once we have a reasonable services
|
||||
* management.
|
||||
*/
|
||||
extern std::shared_ptr<RsBroadcastDiscovery> rsBroadcastDiscovery;
|
||||
extern RsBroadcastDiscovery* rsBroadcastDiscovery;
|
||||
|
||||
|
||||
struct RsBroadcastDiscoveryResult : RsSerializable
|
||||
{
|
||||
RsPgpFingerprint mPgpFingerprint;
|
||||
RsPeerId mSslId;
|
||||
std::string mProfileName;
|
||||
RsUrl mLocator;
|
||||
|
|
@ -54,6 +55,7 @@ struct RsBroadcastDiscoveryResult : RsSerializable
|
|||
void serial_process( RsGenericSerializer::SerializeJob j,
|
||||
RsGenericSerializer::SerializeContext& ctx) override
|
||||
{
|
||||
RS_SERIAL_PROCESS(mPgpFingerprint);
|
||||
RS_SERIAL_PROCESS(mSslId);
|
||||
RS_SERIAL_PROCESS(mProfileName);
|
||||
RS_SERIAL_PROCESS(mLocator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue