Something went wrong. Try again.
Self-hosted, federated location sharing app and server that prioritizes user privacy and security
Something went wrong. Try again.
582 B · 19 lines
1234567891011121314151617181920Future<String> getPings() async { /*
@azom.dev's encryption algorithm needs to be fully made first, so it will be implemented later. The blob will look like this:
[ {viewer_id: id0, encrypted_blob: blob0}, {viewer_id: id1, encrypted_blob: blob1}, {viewer_id: id2, encrypted_blob: blob2}, ]
*/ return '[\n {\'viewer_id\': \'id\', \'encrypted_blob\': blob0},\n {\'viewer_id\': \'id\', \'encrypted_blob\': blob1},\n {\'viewer_id\': \'id\', \'encrypted_blob\': blob2},\n]';}
void convertPings(String senderId, String pings) { // To implement later}