mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
check for null
This commit is contained in:
@@ -72,7 +72,7 @@ public class ProfileSettingsFragment extends Fragment {
|
||||
int[] memberList = null;
|
||||
DcChatlist sharedChats = null;
|
||||
|
||||
if(dcChat.isGroup()) {
|
||||
if(dcChat!=null && dcChat.isGroup()) {
|
||||
memberList = dcContext.getChatContacts(chatId);
|
||||
}
|
||||
else if(contactId>0) {
|
||||
|
||||
Reference in New Issue
Block a user