Commit e045ac01 authored by Benjamin REIS's avatar Benjamin REIS

fix fetch of client group chat room

parent 7bb67214
......@@ -1909,7 +1909,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
shared_ptr<Participant> participant = make_shared<Participant>(IdentityAddress(row.get<string>(0)));
participant->getPrivate()->setAdmin(!!row.get<int>(1));
if (participant->getAddress() == chatRoomId.getLocalAddress())
if (participant->getAddress() == chatRoomId.getLocalAddress().getAddressWithoutGruu())
me = participant;
else
participants.push_back(participant);
......
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