File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Signal-Windows.Lib/Storage Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1098,6 +1098,8 @@ internal static List<SignalConversation> InsertOrUpdateGroups(IList<(SignalGroup
10981098 var dbGroup = ctx . Groups
10991099 . Where ( g => g . ThreadId == receivedGroup . group . ThreadId )
11001100 . Include ( g => g . GroupMemberships )
1101+ . Include ( g => g . LastMessage )
1102+ . ThenInclude ( m => m . Content )
11011103 . SingleOrDefault ( ) ;
11021104 if ( dbGroup != null )
11031105 {
@@ -1137,6 +1139,8 @@ internal static List<SignalConversation> InsertOrUpdateContacts(IList<SignalCont
11371139 {
11381140 var dbContact = ctx . Contacts
11391141 . Where ( c => c . ThreadId == contact . ThreadId )
1142+ . Include ( c => c . LastMessage )
1143+ . ThenInclude ( m => m . Content )
11401144 . SingleOrDefault ( ) ;
11411145 if ( dbContact != null )
11421146 {
You can’t perform that action at this time.
0 commit comments