Handshake: carry ready-frame rejections into the connection state

The satellite's domain rejections at registration/reconnect were dropped
until the next domains_ack; seed the connection with them so the upstream
link list shows conflicts immediately. Plus a dead frontend import.
This commit is contained in:
LeoVasanko committed 2026-10-01 06:36:15 +00:00
1 parent 0638117279
commit 9da1abc2c7
2 files changed
+6 -2

No files matched your search

-1
View File
@@ -16,7 +16,6 @@
import { computed, onBeforeUnmount, onMounted, ref } from 'vue'
import AdminDialog from './dialogs/AdminDialog.vue'
import { useAuthStore } from '@/stores/auth'
import { formatDate } from '@/utils/helpers'
import { apiJson } from 'paskia'
const props = defineProps({
+6 -1
View File
@@ -241,7 +241,12 @@ async def _handshake(ws: WebSocket) -> _Connection | None:
db.create_satellite_link(
link_id, rp_ids, server_part + client_part, label=hello.get("label") or ""
)
return _Connection(ws=ws, link_id=link_id, scope=set(rp_ids))
return _Connection(
ws=ws,
link_id=link_id,
scope=set(rp_ids),
rejected=ready.get("rejected") or {},
)
async def _apply_client_message(message: dict, conn: _Connection) -> None: