fix(ClientGroupChatRoom): set correctly state at fetch

This commit is contained in:
Ronan Abhamon 2017-11-30 15:12:49 +01:00
parent 7e48b9c956
commit d532fb79f7

View file

@ -115,7 +115,7 @@ RemoteConference(core, me->getAddress(), nullptr) {
dConference->subject = subject;
dConference->participants = move(participants);
d->state = isReadOnly ? ChatRoom::State::Created : ChatRoom::State::Terminated;
d->state = isReadOnly ? ChatRoom::State::Terminated : ChatRoom::State::Created;
getMe()->getPrivate()->setAdmin(me->isAdmin());