diff --git a/src/conference/participant-p.h b/src/conference/participant-p.h index 8d863a9eb..58d522a34 100644 --- a/src/conference/participant-p.h +++ b/src/conference/participant-p.h @@ -39,7 +39,8 @@ public: virtual ~ParticipantPrivate () = default; std::shared_ptr createSession (const Conference &conference, const CallSessionParams *params, bool hasMedia, CallSessionListener *listener); - std::shared_ptr getSession () const; + std::shared_ptr getSession () const { return session; } + void setAddress (const Address &newAddr) { addr = newAddr; } private: Address addr; diff --git a/src/conference/participant.cpp b/src/conference/participant.cpp index 128660977..31a25000d 100644 --- a/src/conference/participant.cpp +++ b/src/conference/participant.cpp @@ -38,10 +38,6 @@ shared_ptr ParticipantPrivate::createSession (const Conference &con return session; } -shared_ptr ParticipantPrivate::getSession () const { - return session; -} - // ============================================================================= Participant::Participant (const Address &addr) : Object(*new ParticipantPrivate) {