Fixed app.js not sending user ID itself and only peers it knows #5
MiTask
commented 2024-06-10 11:24:35 -04:00
Contributor
No description provided.
MiTask
added 26 commits 2024-06-10 11:24:35 -04:00
I guess its time to work on multiple rooms now
9587ae4818
Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat
9f5d5b7dba
Trying to make multiple rooms support. This is gonna be a bit of a hell lol.
24101e5611
Trying to fix a bug with message peers
165d2f0faa
Oops forgot about bot startup message. It doesnt work because there's no known peers yet
805983e3f5
Hmm how can i get publickey of the user sending info and not just peers who connected?
704f6ca0dc
I might've fix sending all 'peers' lol
961599f366
Oh i actually broke it because push returns length and not array itself 💀
d9dbdf4401
Fixed sending ON_READY_MESSAGE
8788adbc2b
Started working on ChatRoom class
4cfae430b2
Oops debugging didnt go as planned lol
fda25abe8c
Trying to find a way to check which topic each pear is from
7399585d9e
Lol i tried to iterate over not-iterable object
6980520a85
Found something interesting called 'swarm.peers'
7751d03b57
There's something even more interesting called 'peerInfo.topics' lol. So bad it has no good docs and i have to do this stuff to learn more
d1ee697c84
I tried to iterate over not iterable object again 😭
aa53cb487b
Ok i will stop exiting to test it properly
2ed13e50f7
Opps i had array of arrays of peers in message json
051aa09c2d
Filtering all the peers except myself now
5d6728f39f
Ehh its not remotePubKey but just pubKey
5e52298196
Huh publicKey is undefined lol
7ed5681639
Forgot to check if my temp array is > 0 😭
ecfc62ff2c
I actually didnt fix the issue with array of arrays. Now it should be fine
d993090f8b
Array of arrays got fixed but i still cant figure out the issue with topics ehh
4134e20403
I sometimes really hate nodej
d233f9e5aa
I removed all of the debugging code for now to push the fix for app.js
bfe0bafebc
snxraven
merged commit b88337c398 into main 2024-06-10 11:26:59 -04:00
snxraven
referenced this issue from a commit 2024-06-10 11:27:00 -04:00
Merge pull request 'Fixed app.js not sending user ID itself and only peers it knows' (#5) 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?