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-uwp
Commits
4cdd8926
Commit
4cdd8926
authored
Oct 02, 2016
by
Nicolas Jager
Browse files
fix : property _unreadMessages set at 0
Change-Id: I7e4a5a9e745abedbb5c5584890e66bbbb7273e4c Tuleap: #1203
parent
14ba30c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
SmartPanel.xaml.cpp
View file @
4cdd8926
...
...
@@ -255,15 +255,22 @@ SmartPanel::_smartList__SelectionChanged(Platform::Object^ sender, Windows::UI::
}
auto
call
=
item
->
_call
;
auto
contact
=
item
->
_contact
;
if
(
call
)
{
auto
state
=
call
->
state
;
if
(
state
==
CallStatus
::
IN_PROGRESS
)
{
if
(
contact
)
{
contact
->
_unreadMessages
=
0
;
ContactsViewModel
::
instance
->
saveContactsToFile
();
}
summonVideoPage
();
return
;
}
}
auto
contact
=
item
->
_contact
;
if
(
contact
)
{
summonMessageTextPage
();
contact
->
_unreadMessages
=
0
;
...
...
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