fix issue reacting to add destination msg

This commit is contained in:
Laura Klünder 2024-03-30 23:38:31 +01:00
parent 66c328a687
commit e0ad24f7ff

View file

@ -326,7 +326,7 @@ class MeshConsumer(AsyncWebsocketConsumer):
await self.close()
await self.add_dst_node(
node=await MeshNode.objects.aget_or_create(address=msg.content.destination),
node=await MeshNode.objects.aget_or_create(address=msg.content.destination)[0],
parent_address=msg.content.via,
)
await self.send_msg(messages.MeshMessage(