mirror of
https://github.com/icewind1991/mx-puppet-steam.git
synced 2026-06-03 09:34:13 +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,
|
||||
userId: steamId.toString()
|
||||
}, 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) {
|
||||
log.error(`Error while setting user presence ${e}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue