0.0.002
ddat interop with dat js cable interop with cabal js ddat's frontend = dat-thang cable fe = cable-thang dillo support based on cel's dillo-dat bootstrap node xplatform support Signed-off-by: divo <418@cryspace.space>
This commit is contained in:
1 parent
f0f91540be
commit
b735900f2e
323 files changed
+134347
-343
No files matched your search
@@ -0,0 +1,14 @@
|
||||
;;; Cable room records are S-expressions signed by each peer's persistent key.
|
||||
;;; C handles the authenticated Cesspool/uTP transport; S7 owns the record form.
|
||||
(define (cable:room-event->wire kind timestamp nick channel text)
|
||||
(list 'cable-room-event kind timestamp nick channel text))
|
||||
|
||||
(define (cable:room-wire-event? value)
|
||||
(and (list? value)
|
||||
(= (length value) 6)
|
||||
(eq? (car value) 'cable-room-event)
|
||||
(integer? (cadr value))
|
||||
(integer? (caddr value))
|
||||
(string? (list-ref value 3))
|
||||
(string? (list-ref value 4))
|
||||
(string? (list-ref value 5))))
|
||||
Reference in new issue
Block a user