diff --git a/src/conference/remote-conference-event-handler.cpp b/src/conference/remote-conference-event-handler.cpp index 163f9961a..6f23d31f8 100644 --- a/src/conference/remote-conference-event-handler.cpp +++ b/src/conference/remote-conference-event-handler.cpp @@ -118,7 +118,7 @@ void RemoteConferenceEventHandler::notifyReceived (string xmlBody) { // ----------------------------------------------------------------------------- -const Address &RemoteConferenceEventHandler::getConfAddress () { +const Address &RemoteConferenceEventHandler::getConfAddress () const { L_D(); return d->confAddress; } diff --git a/src/conference/remote-conference-event-handler.h b/src/conference/remote-conference-event-handler.h index 7d25bd359..810feb49d 100644 --- a/src/conference/remote-conference-event-handler.h +++ b/src/conference/remote-conference-event-handler.h @@ -40,7 +40,7 @@ class RemoteConferenceEventHandler : public Object { void notifyReceived (std::string xmlBody); void unsubscribe (); - const Address &getConfAddress (); + const Address &getConfAddress () const; private: L_DECLARE_PRIVATE(RemoteConferenceEventHandler);