modified wireless links to obtain colors based on connected network from the session, LinkData will no provide a color itself

This commit is contained in:
Blake Harnden 2020-04-15 15:41:37 -07:00
parent 42979f1bb3
commit e2490dee4a
10 changed files with 33 additions and 22 deletions

View file

@ -86,6 +86,7 @@ def handle_link_event(event: LinkData) -> core_pb2.LinkEvent:
options=options,
network_id=event.network_id,
label=event.label,
color=event.color,
)
return core_pb2.LinkEvent(message_type=event.message_type.value, link=link)