File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
SignalServiceKit/src/Contacts/Threads Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
//
2
- // Copyright (c) 2020 Open Whisper Systems. All rights reserved.
2
+ // Copyright (c) 2021 Open Whisper Systems. All rights reserved.
3
3
//
4
4
5
5
#import " TSGroupThread.h"
@@ -139,7 +139,9 @@ + (nullable instancetype)fetchWithGroupId:(NSData *)groupId transaction:(SDSAnyR
139
139
block: ^(TSThread *thread, BOOL *stop) {
140
140
if ([thread isKindOfClass: [TSGroupThread class ]]) {
141
141
TSGroupThread *groupThread = (TSGroupThread *)thread;
142
- if ([groupThread.groupModel.groupMembers containsObject: address]) {
142
+ if ([groupThread.groupModel.groupMembership.fullMembers
143
+ containsObject: address]
144
+ && groupThread.isLocalUserFullMember ) {
143
145
[groupThreads addObject: groupThread];
144
146
}
145
147
}
You can’t perform that action at this time.
0 commit comments