forked from j62/ctbrec
1
0
Fork 0

Disable tipping for the time being

This commit is contained in:
0xboobface 2019-01-15 17:09:35 +01:00
parent d46e4be450
commit ffcdb84714
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,5 @@
package ctbrec;
public class NotLoggedInExcetion extends Exception {
}

View File

@ -113,7 +113,7 @@ public class LiveJasmin extends AbstractSite {
@Override
public boolean supportsTips() {
return true;
return false;
}
@Override

View File

@ -179,6 +179,10 @@ public class LiveJasminModel extends AbstractModel {
@Override
public void receiveTip(Double tokens) throws IOException {
// tips are send over the relay websocket, e.g:
// {"event":"call","funcName":"sendSurprise","data":[1,"SurpriseGirlFlower"]}
// response:
// {"event":"call","funcName":"startSurprise","userId":"xyz_hash_gibberish","data":[{"memberid":"userxyz","amount":1,"tipName":"SurpriseGirlFlower","err_desc":"OK","err_text":"OK"}]}
}
@Override