Patch Search.js and chat, online display in live, invite to game in progress
This commit is contained in:
parent
18bc8a0028
commit
d9d35861f6
22
frontend/static/js/api/chat/Ask.js
Normal file
22
frontend/static/js/api/chat/Ask.js
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
class Ask {
|
||||||
|
constructor(client) {
|
||||||
|
this.client = client;
|
||||||
|
}
|
||||||
|
|
||||||
|
async ask_game(asked) {
|
||||||
|
response = await this.client._post(`/api/chat/ask/`);
|
||||||
|
}
|
||||||
|
|
||||||
|
async ask_game_canceled() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
async ask_game_accepted() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
async ask_game_refused() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user