include full appmetadata object in user status broadcast

This commit is contained in:
2026-02-04 19:11:30 +08:00
parent 8a7c5568c5
commit 7191035748
3 changed files with 82 additions and 10 deletions

View File

@@ -495,7 +495,11 @@ describe('StateGateway', () => {
]);
const data: UserStatusDto = {
activeApp: 'VS Code',
appMetadata: {
localized: null,
unlocalized: 'VS Code',
appIconB64: null,
},
state: UserState.IDLE,
};
@@ -527,7 +531,11 @@ describe('StateGateway', () => {
};
const data: UserStatusDto = {
activeApp: 'VS Code',
appMetadata: {
localized: null,
unlocalized: 'VS Code',
appIconB64: null,
},
state: UserState.IDLE,
};
@@ -550,7 +558,11 @@ describe('StateGateway', () => {
};
const data: UserStatusDto = {
activeApp: 'VS Code',
appMetadata: {
localized: null,
unlocalized: 'VS Code',
appIconB64: null,
},
state: UserState.IDLE,
};
@@ -569,7 +581,11 @@ describe('StateGateway', () => {
data: {},
};
const data: UserStatusDto = {
activeApp: 'VS Code',
appMetadata: {
localized: null,
unlocalized: 'VS Code',
appIconB64: null,
},
state: UserState.IDLE,
};
@@ -598,7 +614,11 @@ describe('StateGateway', () => {
]);
const data: UserStatusDto = {
activeApp: 'VS Code',
appMetadata: {
localized: null,
unlocalized: 'VS Code',
appIconB64: null,
},
state: UserState.IDLE,
};