Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
732 B
5
Indexable
Never
    /**public void sendBitchPing(String toID) {
        Random rnd = new Random();
        int i;
        String msgID;
        i = rnd.nextInt();
        String fromID = User.getID();
        Firebase bitchPing = new Firebase("https://dazzling-fire-538.firebaseio.com/Message");
        while(bitchPing.child(null).equals(Integer.toString(i))) {
            i = rnd.nextInt();
        }
        msgID = Integer.toString(i);
        bitchPing = new Firebase("https://dazzling-fire-538.firebaseio.com/Message/" + msgID);
        bitchPing.child("To").setValue(toID);
        bitchPing.child("From").setValue(fromID);

    }

    public String queryURL(String query) {

        return url.concat("Group/").concat(query);
    }
    */