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
1098
1098
var dbGroup = ctx . Groups
1099
1099
. Where ( g => g . ThreadId == receivedGroup . group . ThreadId )
1100
1100
. Include ( g => g . GroupMemberships )
1101
+ . Include ( g => g . LastMessage )
1102
+ . ThenInclude ( m => m . Content )
1101
1103
. SingleOrDefault ( ) ;
1102
1104
if ( dbGroup != null )
1103
1105
{
@@ -1137,6 +1139,8 @@ internal static List<SignalConversation> InsertOrUpdateContacts(IList<SignalCont
1137
1139
{
1138
1140
var dbContact = ctx . Contacts
1139
1141
. Where ( c => c . ThreadId == contact . ThreadId )
1142
+ . Include ( c => c . LastMessage )
1143
+ . ThenInclude ( m => m . Content )
1140
1144
. SingleOrDefault ( ) ;
1141
1145
if ( dbContact != null )
1142
1146
{
You can’t perform that action at this time.
0 commit comments