Always send a type now when updating own presence (#1785)

This commit is contained in:
SpaceEEC
2017-08-17 00:16:09 +02:00
committed by Crawl
parent cd4a69d009
commit 2809eb74ca

View File

@@ -190,7 +190,7 @@ class ClientUser extends User {
if (data.game) {
game = data.game;
if (game.url) game.type = 1;
game.type = game.url ? 1 : 0;
} else if (typeof data.game !== 'undefined') {
game = null;
}