notnoop / java-mpns

Java Library for the Microsoft Push Notification service
BSD 3-Clause "New" or "Revised" License
37 stars 40 forks source link

Utilities. logicalResponseFor doesn't work correctly #1

Open oujinliang opened 12 years ago

oujinliang commented 12 years ago

In file / src / main / java / com / notnoop / mpns / internal / Utilities.java Line 117, I think the statement 'r.getNotificationStatus()' should be 'r.getDeviceConnectionStatus():

       if (r.getDeviceConnectionStatus() != null
            && !r.getNotificationStatus().equals(headerValue(response, "X-DeviceConnectionStatus"))) {
            continue;
        }
plucury commented 12 years ago

I fixed it #2