👔 Add rpc prefix for activities generated from activity server

This commit is contained in:
2025-11-02 16:50:31 +08:00
parent f08b9e057f
commit cfbe6e580b

View File

@@ -444,7 +444,7 @@ final rpcServerStateProvider = StateNotifierProvider<
'message': (socket, dynamic data) async {
if (data['cmd'] == 'SET_ACTIVITY') {
final activity = data['args']['activity'];
final appId = socket.clientId;
final appId = 'rpc:${socket.clientId}';
final currentId = notifier.currentActivityManualId;
if (currentId != null && currentId != appId) {