Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-uwp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-uwp
Commits
4cdd8926
Commit
4cdd8926
authored
8 years ago
by
Nicolas Jager
Browse files
Options
Downloads
Patches
Plain Diff
fix : property _unreadMessages set at 0
Change-Id: I7e4a5a9e745abedbb5c5584890e66bbbb7273e4c Tuleap: #1203
parent
14ba30c4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
SmartPanel.xaml.cpp
+8
-1
8 additions, 1 deletion
SmartPanel.xaml.cpp
with
8 additions
and
1 deletion
SmartPanel.xaml.cpp
+
8
−
1
View file @
4cdd8926
...
@@ -255,15 +255,22 @@ SmartPanel::_smartList__SelectionChanged(Platform::Object^ sender, Windows::UI::
...
@@ -255,15 +255,22 @@ SmartPanel::_smartList__SelectionChanged(Platform::Object^ sender, Windows::UI::
}
}
auto
call
=
item
->
_call
;
auto
call
=
item
->
_call
;
auto
contact
=
item
->
_contact
;
if
(
call
)
{
if
(
call
)
{
auto
state
=
call
->
state
;
auto
state
=
call
->
state
;
if
(
state
==
CallStatus
::
IN_PROGRESS
)
{
if
(
state
==
CallStatus
::
IN_PROGRESS
)
{
if
(
contact
)
{
contact
->
_unreadMessages
=
0
;
ContactsViewModel
::
instance
->
saveContactsToFile
();
}
summonVideoPage
();
summonVideoPage
();
return
;
return
;
}
}
}
}
auto
contact
=
item
->
_contact
;
if
(
contact
)
{
if
(
contact
)
{
summonMessageTextPage
();
summonMessageTextPage
();
contact
->
_unreadMessages
=
0
;
contact
->
_unreadMessages
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment