Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

session: hide paid chat from status dashboard

+4 -5
+4 -5
session-server/session.mjs
··· 992 992 // Get chat status with recent messages 993 993 const chatStatus = chatManager.getStatus(); 994 994 const chatWithMessages = chatStatus.map(instance => { 995 - const recentMessages = instance.messages > 0 995 + // Don't expose sotce chat messages — it's a paid subscriber network. 996 + const isSotce = instance.name === "chat-sotce"; 997 + const recentMessages = (!isSotce && instance.messages > 0) 996 998 ? chatManager.getRecentMessages(instance.host, 5) 997 999 : []; 998 1000 return { ··· 1213 1215 <h2>🕐 chat-clock</h2> 1214 1216 <div id="chat-clock-messages"></div> 1215 1217 </div> 1216 - <div class="section" id="chat-sotce-section"> 1217 - <h2>🌸 chat-sotce</h2> 1218 - <div id="chat-sotce-messages"></div> 1219 - </div> 1218 + 1220 1219 </div> 1221 1220 </div> 1222 1221