mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-08-25 10:31:13 +00:00
Feature/unsubscribe from content filter (#255)
Unsubscribe from a content topic Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
This commit is contained in:
co-authored by
Oskar Thorén
parent
ea5f9993a7
commit
24f4a087de
@@ -225,7 +225,7 @@ proc processInput(rfd: AsyncFD, rng: ref BrHmacDrbgContext) {.async.} =
|
||||
info "Hit filter handler"
|
||||
|
||||
await node.subscribe(
|
||||
FilterRequest(contentFilters: @[ContentFilter(topics: @[DefaultContentTopic])], topic: DefaultTopic),
|
||||
FilterRequest(contentFilters: @[ContentFilter(topics: @[DefaultContentTopic])], topic: DefaultTopic, subscribe: true),
|
||||
filterHandler
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user