mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix: harden emoji reactions + feat: configurable ACP event subscriptions (#59)
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
signRelayEvent,
|
||||
} from "@/shared/api/tauri";
|
||||
import type { PresenceStatus, RelayEvent } from "@/shared/api/types";
|
||||
import { STREAM_MESSAGE_KINDS } from "@/shared/constants/kinds";
|
||||
import { CHANNEL_EVENT_KINDS } from "@/shared/constants/kinds";
|
||||
import {
|
||||
getTextPayload,
|
||||
sortEvents,
|
||||
@@ -175,7 +175,7 @@ class RelayClient {
|
||||
limit: number,
|
||||
): RelaySubscriptionFilter {
|
||||
return {
|
||||
kinds: [...STREAM_MESSAGE_KINDS],
|
||||
kinds: [...CHANNEL_EVENT_KINDS],
|
||||
"#h": [channelId],
|
||||
limit,
|
||||
};
|
||||
@@ -183,7 +183,7 @@ class RelayClient {
|
||||
|
||||
private buildGlobalStreamFilter(limit: number): RelaySubscriptionFilter {
|
||||
return {
|
||||
kinds: [...STREAM_MESSAGE_KINDS],
|
||||
kinds: [...CHANNEL_EVENT_KINDS],
|
||||
limit,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user