fix(desktop): scope mention/add autocomplete to reachable identities (#1243)

Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Wes
2026-06-24 12:57:55 -07:00
committed by GitHub
co-authored by Pinky Brain
parent 09dbeb86fa
commit a3e8fb6fd5
15 changed files with 1160 additions and 286 deletions
+2 -2
View File
@@ -1,5 +1,4 @@
import { invoke as tauriInvoke } from "@tauri-apps/api/core";
import type {
AddChannelMembersInput,
AddChannelMembersResult,
@@ -189,8 +188,8 @@ type RawRelayAgent = {
capabilities: string[];
status: RelayAgent["status"];
respond_to?: RelayAgent["respondTo"];
respond_to_allowlist?: string[];
};
export type RawManagedAgent = {
pubkey: string;
name: string;
@@ -846,6 +845,7 @@ function fromRawRelayAgent(agent: RawRelayAgent): RelayAgent {
capabilities: agent.capabilities,
status: agent.status,
respondTo: agent.respond_to ?? null,
respondToAllowlist: agent.respond_to_allowlist ?? [],
};
}
+1
View File
@@ -265,6 +265,7 @@ export type RelayAgent = {
capabilities: string[];
status: "online" | "away" | "offline";
respondTo: RespondToMode | null;
respondToAllowlist: string[];
};
export type ManagedAgentBackend =