mirror of
https://github.com/icewind1991/mx-puppet-steam.git
synced 2026-06-03 17:44:09 +02:00
disable setting user status for now
This commit is contained in:
parent
3846aec936
commit
0c56c70358
1 changed files with 0 additions and 13 deletions
13
src/steam.ts
13
src/steam.ts
|
|
@ -193,19 +193,6 @@ export class Steam {
|
||||||
puppetId,
|
puppetId,
|
||||||
userId: steamId.toString()
|
userId: steamId.toString()
|
||||||
}, state);
|
}, state);
|
||||||
|
|
||||||
if (persona.gameid && persona.gameid !== '0') {
|
|
||||||
let app = await this.getProduct(p, persona.gameid);
|
|
||||||
await this.bridge.setUserStatus({
|
|
||||||
puppetId,
|
|
||||||
userId: steamId.toString()
|
|
||||||
}, `Now playing: ${app.appinfo.common.name}`);
|
|
||||||
} else {
|
|
||||||
await this.bridge.setUserStatus({
|
|
||||||
puppetId,
|
|
||||||
userId: steamId.toString()
|
|
||||||
}, "");
|
|
||||||
}
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log.error(`Error while setting user presence ${e}`);
|
log.error(`Error while setting user presence ${e}`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue