Pass name

Issue #1 new
Former user created an issue

Is it possible to pass name? I have the users first and last name in my application already, would love to just pass that as a parameter to the init() call.

Comments (6)

  1. Don Brown

    I didn't add support for that as HipChat requires the first and last name to be unique. Therefore, you'd have to deal with errors somehow and wouldn't know about them until after the iframe is retrieved. Do you have an idea on how better to solve that?

  2. Visionline Kft

    +1 for this feature, even with the possibility of an error (for example we don't have 2 customers with the exact same name). Just an idea: if hipchat returns with this error, you can reload the iframe with "Firstname Lastname#randomnumber".

  3. Brandon Mason

    As a part of your initialization API you could accept a callback that will receive success or failure. Or do separate success/failure callbacks, whichever suits your style.

    I am wondering if it is possible to create an optional login feature for this widget... For our use case, it will be rare that we need guest functionality, we are mainly just looking for a way to support the same chat system on the website as people will have on their mobile phones.

  4. Log in to comment