• Joined on 2023-01-04
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 13:59:16 -04:00
230cdd1321 Huh? Is it actually inverted??
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 13:57:48 -04:00
acb5609d03 Its not working 😭 time to debug
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 13:56:19 -04:00
66d684e473 Filter all the peerInfo topics that are undefined and then map all of them to hex string
b88337c398 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
Compare 3 commits »
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 13:47:44 -04:00
033330fd04 started working on parsing peers & topics they're currently in on swarm update event using 'swarm.peers'
MiTask created pull request snxraven/LinkUp-P2P-Chat#5 2024-06-10 11:24:35 -04:00
Fixed app.js not sending user ID itself and only peers it knows
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 11:24:03 -04:00
bfe0bafebc I removed all of the debugging code for now to push the fix for app.js
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 11:08:22 -04:00
d233f9e5aa I sometimes really hate nodej
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 11:06:16 -04:00
4134e20403 Array of arrays got fixed but i still cant figure out the issue with topics ehh
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 11:03:31 -04:00
d993090f8b I actually didnt fix the issue with array of arrays. Now it should be fine
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 11:01:08 -04:00
ecfc62ff2c Forgot to check if my temp array is > 0 😭
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 11:00:11 -04:00
7ed5681639 Huh publicKey is undefined lol
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:58:54 -04:00
5e52298196 Ehh its not remotePubKey but just pubKey
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:58:10 -04:00
5d6728f39f Filtering all the peers except myself now
051aa09c2d Opps i had array of arrays of peers in message json
Compare 2 commits »
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:53:53 -04:00
2ed13e50f7 Ok i will stop exiting to test it properly
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:50:36 -04:00
aa53cb487b I tried to iterate over not iterable object again 😭
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:48:41 -04:00
d1ee697c84 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
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:44:48 -04:00
7751d03b57 Found something interesting called 'swarm.peers'
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:41:14 -04:00
6980520a85 Lol i tried to iterate over not-iterable object
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:39:09 -04:00
7399585d9e Trying to find a way to check which topic each pear is from
MiTask pushed to main at MiTask/LinkUp-P2P-Chat 2024-06-10 10:35:14 -04:00
fda25abe8c Oops debugging didnt go as planned lol