Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-gnome
Commits
c2ef6bd9
Unverified
Commit
c2ef6bd9
authored
Jun 25, 2020
by
Sébastien Blin
Browse files
chatview: use clearReadInteractions
Change-Id: Idd93e75369fdb6de99e3d05adbb338ec40886be9
parent
a81119b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chatview.cpp
View file @
c2ef6bd9
...
...
@@ -827,10 +827,7 @@ print_text_recording(ChatView *self)
// Read interactions
if
(
!
priv
->
conversation_
)
return
;
for
(
const
auto
&
it
:
priv
->
conversation_
->
interactions
)
{
if
(
!
it
.
second
.
isRead
)
(
*
priv
->
accountInfo_
)
->
conversationModel
->
setInteractionRead
(
priv
->
conversation_
->
uid
,
it
.
first
);
}
(
*
priv
->
accountInfo_
)
->
conversationModel
->
clearUnreadInteractions
(
priv
->
conversation_
->
uid
);
webkit_chat_container_print_history
(
WEBKIT_CHAT_CONTAINER
(
priv
->
webkit_chat_container
),
...
...
Write
Preview
Supports
Markdown
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