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

peer discovery: cleanup

Change-Id: If974fd1fe9a3ccc0c180abf82f6eb9a1da785263
parent d6d447a6
...@@ -160,7 +160,7 @@ class Account : public Serializable, public std::enable_shared_from_this<Account ...@@ -160,7 +160,7 @@ class Account : public Serializable, public std::enable_shared_from_this<Account
return {}; return {};
} }
virtual std::map<std::string, std::string> getNearbyPeers(const std::string& accountID) { virtual std::map<std::string, std::string> getNearbyPeers() const {
return {}; return {};
} }
......
...@@ -3741,7 +3741,7 @@ JamiAccount::startAccountDiscovery() ...@@ -3741,7 +3741,7 @@ JamiAccount::startAccountDiscovery()
} }
std::map<std::string, std::string> std::map<std::string, std::string>
JamiAccount::getNearbyPeers() JamiAccount::getNearbyPeers() const
{ {
return discoveredPeerMap_; return discoveredPeerMap_;
} }
......
...@@ -402,7 +402,7 @@ class JamiAccount : public SIPAccountBase { ...@@ -402,7 +402,7 @@ class JamiAccount : public SIPAccountBase {
/** /**
* Get current discovered peers account id and display name * 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: private:
NON_COPYABLE(JamiAccount); NON_COPYABLE(JamiAccount);
......
Supports Markdown
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