Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

debug: log handle + content type in chat auth path

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+2 -1
+2 -1
session-server/chat-manager.mjs
··· 371 371 authorized = instance.authorizedConnections[id].user; 372 372 console.log("💬 Pre-authorized"); 373 373 } else { 374 - console.log("💬 Authorizing..."); 374 + console.log("💬 Authorizing...", "handle:", msg.content.handle, "token:", msg.content.token?.slice(0, 10) + "...", "content-type:", typeof msg.content); 375 375 authorized = await this.authorize(instance, msg.content.token); 376 376 // Fallback: AC device token (from ac-native device-token API) 377 377 if (!authorized && msg.content.handle && msg.content.token) { 378 + console.log("💬 Trying device token auth for @" + msg.content.handle); 378 379 authorized = await this.authorizeDeviceToken(instance, msg.content.handle, msg.content.token); 379 380 } 380 381 if (authorized) {