diff --git a/src/conference/remote-conference.cpp b/src/conference/remote-conference.cpp index aca20de9f..ef6e4dd0f 100644 --- a/src/conference/remote-conference.cpp +++ b/src/conference/remote-conference.cpp @@ -61,7 +61,7 @@ void RemoteConference::removeParticipant (const shared_ptr &p } -string RemoteConference::getResourceLists (const list
&addresses) { +string RemoteConference::getResourceLists (const list
&addresses) const { ResourceLists rl = ResourceLists(); ListType l = ListType(); for (const auto &addr : addresses) { diff --git a/src/conference/remote-conference.h b/src/conference/remote-conference.h index ea97a397f..572873136 100644 --- a/src/conference/remote-conference.h +++ b/src/conference/remote-conference.h @@ -40,7 +40,7 @@ public: void addParticipant (const Address &addr, const CallSessionParams *params, bool hasMedia) override; void removeParticipant (const std::shared_ptr &participant) override; - std::string getResourceLists (const std::list
&addresses); + std::string getResourceLists (const std::list
&addresses) const; protected: /* ConferenceListener */