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
@Yuki Kishimoto, 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
Login to reply
Replies (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)
```