mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
Some cleaning.
This commit is contained in:
parent
098660726f
commit
e98ce1ea4a
3 changed files with 5 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
std::list<Address> cleanAddressesList (const std::list<Address> &addresses) const;
|
||||
std::shared_ptr<CallSession> createSession ();
|
||||
void notifyReceived (std::string body);
|
||||
void notifyReceived (const std::string &body);
|
||||
|
||||
private:
|
||||
L_DECLARE_PUBLIC(ClientGroupChatRoom);
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ shared_ptr<CallSession> ClientGroupChatRoomPrivate::createSession () {
|
|||
return session;
|
||||
}
|
||||
|
||||
void ClientGroupChatRoomPrivate::notifyReceived (string body) {
|
||||
void ClientGroupChatRoomPrivate::notifyReceived (const string &body) {
|
||||
L_Q_T(RemoteConference, qConference);
|
||||
qConference->getPrivate()->eventHandler->notifyReceived(body);
|
||||
}
|
||||
|
|
@ -79,11 +79,11 @@ void ClientGroupChatRoomPrivate::notifyReceived (string body) {
|
|||
ClientGroupChatRoom::ClientGroupChatRoom (
|
||||
const std::shared_ptr<Core> &core,
|
||||
const Address &me,
|
||||
const std::string &uri,
|
||||
const std::string &factoryUri,
|
||||
const std::string &subject
|
||||
) : ChatRoom(*new ClientGroupChatRoomPrivate, core, Address()), RemoteConference(core->getCCore(), me, nullptr) {
|
||||
L_D_T(RemoteConference, dConference);
|
||||
dConference->focus = make_shared<Participant>(Address(uri));
|
||||
dConference->focus = make_shared<Participant>(Address(factoryUri));
|
||||
RemoteConference::setSubject(subject);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public:
|
|||
ClientGroupChatRoom (
|
||||
const std::shared_ptr<Core> &core,
|
||||
const Address &me,
|
||||
const std::string &uri,
|
||||
const std::string &factoryUri,
|
||||
const std::string &subject
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue