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
Not 100% sure why I am not able to change the "Post as" username. What is the logic / reason for not allowing this value to change?
Why does this matter?
That assume the user exists... but in my case, someone deleted the user the webhooks were assigned to.... which gives me the following error:
Exception while invoking method 'updateIncomingIntegration' TypeError: Cannot read property 'id' of undefined at [object Object].Meteor.methods.updateIncomingIntegration (/opt/Rocket.Chat/programs/server/packages/rocketchat_integrations.js:509:46) at [object Object].methodsMap.(anonymous function) (/opt/Rocket.Chat/programs/server/packages/rocketchat_lib.js:1064:26) at maybeAuditArgumentChecks (/opt/Rocket.Chat/programs/server/packages/ddp-server.js:2108:12) at /opt/Rocket.Chat/programs/server/packages/ddp-server.js:1042:22 at [object Object]..extend.withValue (packages/meteor.js:1122:17) at /opt/Rocket.Chat/programs/server/packages/ddp-server.js:1041:43 at [object Object]._.extend.withValue (packages/meteor.js:1122:17) at /opt/Rocket.Chat/programs/server/packages/ddp-server.js:1040:48 at Session.method (/opt/Rocket.Chat/programs/server/packages/ddp-server.js:1018:23) at /opt/Rocket.Chat/programs/server/packages/ddp-server.js:880:89
Another thing is... before all of this happened, I created new bot accounts and change the post as to use the new bot accounts and not the "admin" which was set there before by the person who originally created the webhooks.
"Why not just delete these hooks and create new ones?" Great question. When I create a new webhook, I get a new URL/token... which means I would need to change those values in the various applications which I do not have admin access to, which makes it a real pain.
The text was updated successfully, but these errors were encountered:
👍 I will work on a solution for this first thing tomorrow as you're right, it doesn't even look like the update includes the new username...I wonder if this got lost in the coffeescript to JavaScript conversion
Rocket.Chat Version: 0.52.0
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: 4.8.2 - x64
Not 100% sure why I am not able to change the "Post as" username. What is the logic / reason for not allowing this value to change?
Why does this matter?
Rocket.Chat/packages/rocketchat-integrations/server/methods/incoming/updateIncomingIntegration.js
Lines 78 to 79 in e888808
That assume the user exists... but in my case, someone deleted the user the webhooks were assigned to.... which gives me the following error:
Another thing is... before all of this happened, I created new bot accounts and change the post as to use the new bot accounts and not the "admin" which was set there before by the person who originally created the webhooks.
"Why not just delete these hooks and create new ones?" Great question. When I create a new webhook, I get a new URL/token... which means I would need to change those values in the various applications which I do not have admin access to, which makes it a real pain.
The text was updated successfully, but these errors were encountered: