haiwen / seafile-iOS

iOS client for seafile
Apache License 2.0
221 stars 151 forks source link

Fix crash if groupName is parsed as NSNull #266

Closed mikrohard closed 5 years ago

mikrohard commented 5 years ago

The app started to crash when I added an account from our local Seafile server. After some debugging I found out that for some libraries the "group_name" is parsed as NSNull by the JSON parser which isn't expected by the code. This fixes the issue for me.