mirror of
https://github.com/kuhyx/signal-bot.git
synced 2026-07-04 13:23:07 +02:00
Removed sensitive signal server console log
This commit is contained in:
parent
f32cecd78a
commit
e1264ce58f
2
main.py
2
main.py
@ -152,7 +152,7 @@ async def scheduled_task(queue):
|
|||||||
async def listen_to_server(queue):
|
async def listen_to_server(queue):
|
||||||
uri = f"ws://localhost:9922/v1/receive/{PHONE_NUMBER}?send_read_receipts=false"
|
uri = f"ws://localhost:9922/v1/receive/{PHONE_NUMBER}?send_read_receipts=false"
|
||||||
async with websockets.connect(uri) as websocket:
|
async with websockets.connect(uri) as websocket:
|
||||||
print(f"Connected to server at {uri}")
|
print(f"Connected to signal server")
|
||||||
try:
|
try:
|
||||||
async for message in websocket:
|
async for message in websocket:
|
||||||
message_content = extract_message_content(message)
|
message_content = extract_message_content(message)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user