intergram icon indicating copy to clipboard operation
intergram copied to clipboard

Adding property for "You" visitor name

Open NFKData opened this issue 3 years ago • 1 comments

As the code is implemented, "You" prefix is controlled like that:

if (from === 'visitor') {
    name = "You";
}

But it could controlled by something like that:

if (from === 'visitor') {
    name = props.conf.visitorMessageName;
}

I could do the change and open a PR if this feature is wanted.

NFKData avatar Mar 25 '21 20:03 NFKData

Sure. Create a PR and I will review and merge it. Please leave "You" as the default pronoun for users who don't use props.conf.visitorPronoun

idoco avatar Mar 25 '21 20:03 idoco

This change has not been implemented, right?

ostpnk avatar Apr 11 '23 16:04 ostpnk

@ostpnk Change was done and PR was created, but still not accepted neither merged

NFKData avatar Apr 11 '23 17:04 NFKData

@NFKData , thank you! @idoco , could you please help with it?

ostpnk avatar Apr 11 '23 17:04 ostpnk

Closing as the PR is already merged!

NFKData avatar May 02 '23 07:05 NFKData