Commit d532fb79 authored by Ronan's avatar Ronan
Browse files

fix(ClientGroupChatRoom): set correctly state at fetch

parent 7e48b9c9
......@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment