Skip to content

PR 2881 extended calendar to receive notifications from other modules, but code in wrong place #3443

@sdetweil

Description

@sdetweil

the pr 2881 (august 22)

added this code

	socketNotificationReceived (notification, payload) {

		if (notification === "FETCH_CALENDAR") {  
			this.sendSocketNotification(notification, { url: payload.url, id: this.identifier });
		}

BUT the module CANNOT receive SOCKET notifications except from our helper, which NEVER sends this

instead is should have been added to a NEW function . responsible for incoming notifications from OTHER modules

     notificationReceived (notification, payload, sender) {

		if (notification === "FETCH_CALENDAR") {  
			this.sendSocketNotification(notification, { url: payload.url, id: this.identifier });
		}
      },

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions