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

wip/andyholmes/staging #89

Merged
merged 4 commits into from
Feb 5, 2022
Merged

wip/andyholmes/staging #89

merged 4 commits into from
Feb 5, 2022

Conversation

andyholmes
Copy link
Owner

No description provided.

Fix two body definitions, in `kdeconnect.findmyphone.request` and
`kdeconnect.lock.request`, mislabeled as `default` instead of
`properties`.
* return proper fallback icons for all voice events
* use per-called notification ID's, disregarding the event type to
  ensure older event notifications are replaced
* Use a GWeakRef when deferring device loading to the main thread

  If the manager wants to dispose while loading devices we don't want to
  bother constructing devices, so don't hold a reference to the manager.

* Refactor valent_manager_ensure_device() to take an identity packet

  A device is never constructed in the absence of an identity packet, so
  require on to passed to the method.
Refactor `valent_device_new()` to take a `JsonNode` identity and add
`valent_device_new_full()` which can take an additional `ValentData`
object.

This means `ValentManager` no longer needs to call the private method
`valent_device_handle_packet()` and in standard usage the device ID is
guaranteed to match the initial identity packet. As a bonus,
`valent_device_handle_packet()` no longer has to check for incoming
identity packets.
@andyholmes andyholmes enabled auto-merge (rebase) February 5, 2022 05:24
@andyholmes andyholmes merged commit 5f5f8f0 into main Feb 5, 2022
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.

1 participant