-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added option to save username instead of first name #47
Added option to save username instead of first name #47
Conversation
1. Hide the entire polling interval row if "Servermode" is selected - not only the input field. 2. Added option to choose if the adapter should save the "public username" or the first name of authenticated users.
Added option to choose if the adapter should save the "public username" or the first name of authenticated users.
(Save username instead of first name)
Thank you again for the effort! It works for me as well however I have to do another change in the settings page in order to "save and close" clicking the check button for that option alone wont allow me to save. Edit: After doing that once now checking/unchecking the box for the option allows me to save the settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works perfectly!
That is because if you update manual via github URL the new option is not saved / existing "behind the scenes" yet when you open the configuration dialog. |
Also mentioned here: https://forum.iobroker.net/viewtopic.php?p=138869#p138869 |
I think this is more clearly. Regarding iobroker-community-adapters#47 https://forum.iobroker.net/viewtopic.php?f=22&p=138872#p138869
Useful when you have multiple users with the same first name authenticated to the bot.
Telegram Username has to be set in the telegram app and is unique.
If the new option is enabled in the adapter settings and the user did not choose an username in the app, then the adapter will continue to use the first name of the user and send an adapter.log.warn that the user did not set an username in the app.
Already tested on my system. 😄