@pmate/chat-sdk 0.12.0-next.60 → 0.12.0-next.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -666,7 +666,7 @@ export class ChatSession {
666
666
  this.listeners.set(threadId, listeners);
667
667
  }
668
668
  listeners.add(notify);
669
- const off = this.messages.subscribe(threadId, () => { }), unpin = this.groups?.pin(threadId);
669
+ const off = this.messages.subscribe(threadId, () => { }), unpin = (!selected || selected.includes("group")) ? this.groups?.pin(threadId) : undefined;
670
670
  return () => {
671
671
  off();
672
672
  unpin?.();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/chat-sdk",
3
- "version": "0.12.0-next.60",
3
+ "version": "0.12.0-next.61",
4
4
  "description": "Cross-platform PMate chat input components, voice input primitives, and ASR helpers",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",