Skip to content

Commit 9e5b208

Browse files
committed
properly reload the selected conversation on resume
fixes #125
1 parent c33920b commit 9e5b208

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Signal-Windows/ViewModels/MainPageViewModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,14 @@ public void ReplaceConversationList(List<SignalConversation> conversations)
273273
}
274274
if (SelectedThread != null)
275275
{
276+
Logger.LogDebug("SelectedThread is != null, refreshing");
276277
SelectedThread = ConversationsDictionary[SelectedThread.ThreadId];
277-
View.Thread.Collection.Conversation = SelectedThread;
278+
SelectConversation(SelectedThread.ThreadId);
278279
}
279280

280281
if (RequestedConversationId != null && RequestedConversationId != "")
281282
{
283+
Logger.LogDebug("RequestedConversationId is != null, refreshing");
282284
SelectConversation(RequestedConversationId);
283285
}
284286
}

0 commit comments

Comments
 (0)