X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=fe18941366032ce9766715284798a17204d24c5b;hp=c6b00d48117230a0902ef15786e2957a8dcbf6a1;hb=4ac41c44a18777ad3003abf0c51955f81e5e9f0a;hpb=500dbd2c68ab7c284a25aa6d496a67315b7ab492 diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index c6b00d48..fe189413 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1134,7 +1134,9 @@ export default { this.challenges.splice(challToDelIdx, 1); } this.send("newchallenge", { - data: Object.assign({ from: this.st.user.sid }, chall) + data: Object.assign( + // Temporarily add sender infos to display challenge on Discord. + { from: this.st.user.sid, sender: this.st.user.name }, chall) }); // Add new challenge: chall.from = {