This commit is contained in:
@@ -14,7 +14,7 @@ async def notify_message(message: Message, action="create"):
|
||||
print(f"Failed to publish to channel {channel_name}: {e}")
|
||||
|
||||
|
||||
async def notify_chat(chat: ChatUpdate, member_id, action="create"):
|
||||
async def notify_chat(chat: ChatUpdate, member_id: int, action="create"):
|
||||
channel_name = f"chat:{member_id}"
|
||||
data = {"payload": chat, "action": action}
|
||||
try:
|
||||
|
Reference in New Issue
Block a user