r4phf43l / livecall

LiveCall a Chat Plugin for GLPI
MIT License
1 stars 0 forks source link

Username not transferring from glpi to rocketchat #3

Closed r0bertk closed 1 year ago

r0bertk commented 1 year ago

Hello, I am using the function: RocketChat( function() { this.registerGuest( { name: livechat('name'), } ); } ); but the data is not transferred to Rocketchat. The user from glpi in Rocketchat appears as a guest-1. I understand that the username should be posted by GLPI?

r4phf43l commented 1 year ago

I will do some tests, there are some message error in the DevTools Console?

r0bertk commented 1 year ago

Tkank you but it's already working for me. The problem was that in the instruction there is a call via name: livechat('name') and it should be : name: livecall('name')

Working form: RocketChat( function() { this.registerGuest( { name: livecall('name') } ); } );