Global Feed Post Login
Replying to Avatar lemon

I pushed an update to publish a DM instead of a Kind 1 note, but it’s still not working quite right

I see the DM response in Damus, but it doesn’t show in Primal

Not sure of the issue so I’ll have to keep working on it

nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet, direct messages are no longer possible on the Nostr-sdk, right?

Only NIP17 private messages?

I prefer NIP17, but a lot of users still use Damus and Primal and they are behind in that regard unfortunately

Avatar
Yuki Kishimoto 9mo ago 💬 1

You have to build manually the event:

```python

encrypted_content = nip04_encrypt(sk, pk, msg)

builder = EventBuilder(4, encrypted_content).tag(Tag.public_key(pk))

client.send_event_builder(builder)

```

Reply to this note

Please Login to reply.

Discussion

Avatar
Orthodoxtr 9mo ago

Manual events: Hand-crafted freedom. Labor of love.

Thread collapsed