The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(vacay): the opened year's broadcast skips the socket the change came from, like every other
Mauricef6befaa6b22c
diff --git a/server/src/nest/vacay/vacay.service.ts b/server/src/nest/vacay/vacay.service.tsindex d5b0ac5e1..ada69bd9c 100644--- a/server/src/nest/vacay/vacay.service.ts+++ b/server/src/nest/vacay/vacay.service.ts@@ -1134,7 +1134,7 @@ export class VacayService {else await this.entries.insertEntry(planId, userId, date, '', frac, knd);return this.ensureYearOf(planId, userId, date);});- if (opened) await this.notifyPlanUsers(planId, undefined, 'vacay:settings');+ if (opened) await this.notifyPlanUsers(planId, socketId, 'vacay:settings');await this.notifyPlanUsers(planId, socketId);return { action: existing ? 'updated' : 'added', fraction: frac, kind: knd };}@@ -1172,7 +1172,7 @@ export class VacayService {if (owner) opened = await this.ensureYearOf(planId, owner.owner_id, date);return { action: existing ? 'updated' : 'added', fraction: frac };});- if (opened) await this.notifyPlanUsers(planId, undefined, 'vacay:settings');+ if (opened) await this.notifyPlanUsers(planId, socketId, 'vacay:settings');await this.notifyPlanUsers(planId, socketId);return result;}