mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Refactor sendDirectMessage to use strategy pattern for NIP-04/17
Extracted NIP-17 and NIP-04 logic into separate private methods `_sendNip17DirectMessage` and `_sendNip04DirectMessage` to reduce complexity and improve readability of `sendDirectMessage`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
5d43bf8fa7
commit
8027ec9b2b
1 file changed
+542
-496
+542
-496
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user