Skip to content

Commit b883e06

Browse files
committed
properly load requested conversation on start
1 parent 54bdc28 commit b883e06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Signal-Windows/Views/MainPage.xaml.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
8585
UpdateLayout();
8686
SwitchToStyle(GetCurrentViewStyle());
8787
MainPanel.DisplayMode = SplitViewDisplayMode.CompactInline;
88-
if (Vm.SelectedThread != null)
88+
if (e.Parameter != null)
89+
{
90+
Vm.SelectConversation((string) e.Parameter);
91+
}
92+
else if (Vm.SelectedThread != null)
8993
{
9094
ConversationControl.Load(Vm.SelectedThread);
9195
}

0 commit comments

Comments
 (0)