-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add method in ContactSelf to update name and signature #1526
Conversation
merge from chatie
This reverts commit 33c4321.
Here is the c9 playgound Please let me know your thought. |
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.
Please feel free to let me know what you think, thanks.
src/user/contact-self.ts
Outdated
@@ -115,4 +115,21 @@ export class ContactSelf extends Contact { | |||
return qrcodeData | |||
} | |||
|
|||
public async setName (name: string): Promise<boolean> { | |||
log.verbose('Contact-self', 'setName()') |
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.
'Contact-self' -> 'ContactSelf'
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.
Will do the change.
Two more things:
|
Any other comments besides the |
Thank you very much for the new features! |
This change is a prototype. It is adding two new method to
ContactSelf
class.setName
to change the nick name of the botsignature
to change the signature of the botWill provide c9 playground link for working prototype in following comment