You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iframe Events NOT registering "click-message-link"
We can register "unread-changed-by-subscription","unread-changed","room-opened","new-message" but no click event is registered.
Since the rest of the events are registered correctly, we supose RocketChat is not sending this event "click-message-link"
It is a important issue for us, since we have embeded RocketChat in a IFrame and we need to capture events going inside the IFrame. We push messages inside RocketChat Rooms with Links (using Rest-Api) and we need to know when Links are clicked to give the user the correct info. But the event "click-message-link" wont fire. Tried all type of links: with/without preview.
This bug was already described in #7579 but seems 2 years later nobody took it seriously.
window.addEventListener('message', function(e) {
eventName=e.data.eventName;
console.log("eventName: "+eventName); // event name
console.log("e.data: "+e.data.data); // event data
});
"click-message-link" will never be loged, other events ("unread-changed-by-subscription","unread-changed","room-opened","new-message") are loged correctly.
Version of Rocket.Chat Server: 0.74.2
Operating System: Linux x64, Ubuntu 18.04
Deployment Method: snap
Number of Running Instances: 1
NodeJS Version: v8.11.4
The text was updated successfully, but these errors were encountered:
Description:
Iframe Events NOT registering "click-message-link"
We can register "unread-changed-by-subscription","unread-changed","room-opened","new-message" but no click event is registered.
Since the rest of the events are registered correctly, we supose RocketChat is not sending this event "click-message-link"
It is a important issue for us, since we have embeded RocketChat in a IFrame and we need to capture events going inside the IFrame. We push messages inside RocketChat Rooms with Links (using Rest-Api) and we need to know when Links are clicked to give the user the correct info. But the event "click-message-link" wont fire. Tried all type of links: with/without preview.
This bug was already described in #7579 but seems 2 years later nobody took it seriously.
Please also see our Request #13858
Steps to reproduce:
Expected behavior:
Receive a event "click-message-link"
Please also see our Request #13858
Server Setup Information:
Version of Rocket.Chat Server: 0.74.2
Operating System: Linux x64, Ubuntu 18.04
Deployment Method: snap
Number of Running Instances: 1
NodeJS Version: v8.11.4
The text was updated successfully, but these errors were encountered: