Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deviceId to AccountEvent.deviceDisconnected #2645

Merged
merged 1 commit into from
Feb 14, 2020
Merged

Conversation

eoger
Copy link
Contributor

@eoger eoger commented Feb 12, 2020

Fixes #2644.

@eoger eoger requested a review from a team February 12, 2020 23:29
@@ -142,7 +142,10 @@ public enum AccountEvent {
return .deviceConnected(deviceName: msg.deviceConnectedName)
}
case .deviceDisconnected: do {
return .deviceDisconnected(isLocalDevice: msg.deviceDisconnectedIsLocal)
return .deviceDisconnected(
deviceId: msg.deviceDisconnectedData.deviceID,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is D in deviceID correct here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup

@eoger eoger requested a review from a team February 13, 2020 02:50
@eoger eoger merged commit 4ecc6b2 into master Feb 14, 2020
@eoger eoger deleted the device-disconnected-id branch February 14, 2020 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

device disconnected push notification: send device identifier
2 participants