mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
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:
@@ -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 ?? [],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -265,6 +265,7 @@ export type RelayAgent = {
|
||||
capabilities: string[];
|
||||
status: "online" | "away" | "offline";
|
||||
respondTo: RespondToMode | null;
|
||||
respondToAllowlist: string[];
|
||||
};
|
||||
|
||||
export type ManagedAgentBackend =
|
||||
|
||||
Reference in New Issue
Block a user