forked from j62/ctbrec
Disable tipping for the time being
This commit is contained in:
parent
d46e4be450
commit
ffcdb84714
|
@ -0,0 +1,5 @@
|
||||||
|
package ctbrec;
|
||||||
|
|
||||||
|
public class NotLoggedInExcetion extends Exception {
|
||||||
|
|
||||||
|
}
|
|
@ -113,7 +113,7 @@ public class LiveJasmin extends AbstractSite {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsTips() {
|
public boolean supportsTips() {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -179,6 +179,10 @@ public class LiveJasminModel extends AbstractModel {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void receiveTip(Double tokens) throws IOException {
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue