polfan-server-js-client 0.2.43 → 0.2.44

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polfan-server-js-client",
3
- "version": "0.2.43",
3
+ "version": "0.2.44",
4
4
  "description": "JavaScript client library for handling communication with Polfan chat server.",
5
5
  "author": "Jarosław Żak",
6
6
  "license": "MIT",
@@ -214,7 +214,7 @@ export class RoomsManager {
214
214
  }
215
215
 
216
216
  private handleRoomUpdated(ev: RoomUpdated): void {
217
- if (this.list.has(ev.room)) {
217
+ if (this.list.has(ev.room.id)) {
218
218
  this.list.set(ev.room);
219
219
  }
220
220
  }