Commit 81e4b2f8 authored by Adrien Béraud's avatar Adrien Béraud

peer discovery: cleanup

Change-Id: If974fd1fe9a3ccc0c180abf82f6eb9a1da785263
parent d6d447a6
......@@ -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 {};
}
......
......@@ -3741,7 +3741,7 @@ JamiAccount::startAccountDiscovery()
}
std::map<std::string, std::string>
JamiAccount::getNearbyPeers()
JamiAccount::getNearbyPeers() const
{
return discoveredPeerMap_;
}
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment