Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
81e4b2f8
Commit
81e4b2f8
authored
Jun 11, 2019
by
Adrien Béraud
Browse files
peer discovery: cleanup
Change-Id: If974fd1fe9a3ccc0c180abf82f6eb9a1da785263
parent
d6d447a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/account.h
View file @
81e4b2f8
...
...
@@ -160,7 +160,7 @@ class Account : public Serializable, public std::enable_shared_from_this<Account
return
{};
}
virtual
std
::
map
<
std
::
string
,
std
::
string
>
getNearbyPeers
(
const
std
::
string
&
accountID
)
{
virtual
std
::
map
<
std
::
string
,
std
::
string
>
getNearbyPeers
(
)
const
{
return
{};
}
...
...
src/jamidht/jamiaccount.cpp
View file @
81e4b2f8
...
...
@@ -3741,7 +3741,7 @@ JamiAccount::startAccountDiscovery()
}
std
::
map
<
std
::
string
,
std
::
string
>
JamiAccount
::
getNearbyPeers
()
JamiAccount
::
getNearbyPeers
()
const
{
return
discoveredPeerMap_
;
}
...
...
src/jamidht/jamiaccount.h
View file @
81e4b2f8
...
...
@@ -402,7 +402,7 @@ class JamiAccount : public SIPAccountBase {
/**
* Get current discovered peers account id and display name
*/
std
::
map
<
std
::
string
,
std
::
string
>
getNearbyPeers
();
std
::
map
<
std
::
string
,
std
::
string
>
getNearbyPeers
()
const
override
;
private:
NON_COPYABLE
(
JamiAccount
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment