Fixed bot crash on file attachment, added 2 more new events and topic ID to file message #6
MiTask
commented 2024-06-10 14:26:31 -04:00
Contributor
No description provided.
MiTask
added 17 commits 2024-06-10 14:26:31 -04:00
started working on parsing peers & topics they're currently in on swarm update event using 'swarm.peers'
033330fd04
Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat
03f053723d
Filter all the peerInfo topics that are undefined and then map all of them to hex string
66d684e473
Its not working 😭 time to debug
acb5609d03
Huh? Is it actually inverted??
230cdd1321
Lol it actually was inverted for some reason
340362872f
Now its time to debug peer topics since its empty right now
edd3f632cf
Did an oopsie with array.filter ([array.filter] instead of [array].filter)
1dca21fe75
Lmfao i did peer.topics
79bdd04810
replaced topic.toString with b4a.toString(topic)
3b7f0fbd1d
b4a doesnt work its time to debug again
e396bcbb0b
so topics in .map() are array. Is it array that always has only one buffer or can have lots of them???
2ca07e46c3
It can have multiple topics :( time to figure a way to do it then ig
27b3528304
I think i got it to work lol
4ec0be2774
Yeah it actually works :yay:
56d8a8091e
Added onIcon and onFile events. onMessage is now being called only on messageType == message. Removed debug code from swarm.on('update').
7275b69948
Added topic to file attachment json
92ba56b9fc
MiTask
added 1 commit 2024-06-10 14:35:48 -04:00
Started working on proper classes for messages (files and text), user peer class, chatroom class
edf61f0462
snxraven
merged commit 4fbbc73527 into main 2024-06-10 16:09:25 -04:00
snxraven
referenced this issue from a commit 2024-06-10 16:09:26 -04:00
Merge pull request 'Fixed bot crash on file attachment, added 2 more new events and topic ID to file message' (#6) from MiTask/LinkUp-P2P-Chat:main into main
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "MiTask/LinkUp-P2P-Chat:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?