Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tinode/chat
/ add_subscription
Function
add_subscription
chatbot/python/chatbot.py:96–97 ·
view source on GitHub ↗
(topic)
Source
from the content-addressed store, hash-verified
94
# List of active subscriptions
95
subscriptions = {}
96
def
add_subscription(topic):
97
subscriptions[topic] = True
98
99
def
del_subscription(topic):
100
subscriptions.pop(topic, None)
Callers
1
subscribe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected