message queues

This commit is contained in:
callebtc
2023-02-07 23:05:32 +01:00
parent 8e39666fe2
commit 1812b0128f
4 changed files with 24 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ async def dm():
)
client = NostrClient(privatekey_hex=pk)
await asyncio.sleep(1)
# await asyncio.sleep(1)
t = threading.Thread(
target=client.get_dm,
@@ -50,7 +50,7 @@ async def post():
print(f"From {event.public_key[:3]}..{event.public_key[-3:]}: {event.content}")
sender_client = NostrClient(privatekey_hex=pk)
await asyncio.sleep(1)
# await asyncio.sleep(1)
to_pubk_hex = (
input("Enter other pubkey (enter nothing to read your own posts): ")