Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
e045ac01
Commit
e045ac01
authored
Dec 05, 2017
by
Benjamin REIS
Browse files
fix fetch of client group chat room
parent
7bb67214
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db/main-db.cpp
View file @
e045ac01
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment