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
Just checked this.
Here's a couple of things though.
You don't actually need to set the nickname to "Me:" for the current user if he has a set nickname, your own nickname should be in the customization subset, this actually make everything easier.
There's also a small issue. This saves the nicknames based on individual IDs so if you have multiple nicknames in different conversations, it'll show that name in all the conversations.
Ex: Jack is name "foo" in a group chat, if you have a 1-on-1 chat with Jack it'll now show up as "foo"
You're right... and it is quite doable, I'll add the required code to show what you suggest. Just need to use a map for the nicknames where the key is the fb_id + thread_id: nickname
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the custom nickname functionality.
Essentially all I added was the capability to read the custom nickname data from the new thread object structure.
I also made it so that when the "use custom nickname" option is set, your user now says 'Me' instead of your actual first name and last name.