handle not paging of headBlockedUsers

This commit is contained in:
nixzhu
2016-01-04 13:42:24 +08:00
parent cc85b2567e
commit fd287c3f4a
+9
View File
@@ -735,6 +735,15 @@ func blockedUsersByMe(failureHandler failureHandler: ((Reason, String?) -> Void)
completion(parse(blockedUsers))
}
}
} else {
//
println("headBlockedUsers not paging info.")
if let blockedUsers = result["blocked_users"] as? [JSONDictionary] {
completion(parse(blockedUsers))
} else {
completion([])
}
}
})
}