Skip to content

Commit 92b57cb

Browse files
committed
Minor fix for Windows 8
1 parent 3fbe9fc commit 92b57cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PushSharp.Windows/WindowsPushChannel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ WindowsNotificationStatus ParseStatus(HttpWebResponse resp, WindowsNotification
182182
result.HttpStatus = resp.StatusCode;
183183

184184
var wnsDebugTrace = resp.Headers["X-WNS-Debug-Trace"];
185-
var wnsDeviceConnectionStatus = resp.Headers["X-WNS-DeviceConnectionStatus"];
185+
var wnsDeviceConnectionStatus = resp.Headers["X-WNS-DeviceConnectionStatus"] ?? "connected";
186186
var wnsErrorDescription = resp.Headers["X-WNS-Error-Description"];
187187
var wnsMsgId = resp.Headers["X-WNS-Msg-ID"];
188188
var wnsNotificationStatus = resp.Headers["X-WNS-NotificationStatus"];

0 commit comments

Comments
 (0)