Username on Slack is not transferred correctly in transcript export


#1

Seeing a weird bug (?) with the feature of putting slack conversations on discourse: my username on Slack is not transferred to the quote correctly. Username on slack is @greves, but when posted to discourse, it appears as @<my first name>.

How do I ensure consistency between usernames? Is there a mapping between usernames I can set up? Why is this plugging pulling my username as my first name instead of my Slack handle?


Chatroom Integration Plugin (discourse-chat-integration)
#2

Aha.

Here’s an example which should be user.profile.display_name or user.profile.display_name_normalized, rather than user.name which is deprecated. All Slaxk related files should be the same.

@david would you accept a PR? (Although looking at the code, there are perhaps more instances of this than I would have guessed, maybe the person who wrote it could change it relatively easily.)