matrix-org / matrix-appservice-slack

A Matrix <--> Slack bridge
Apache License 2.0
276 stars 72 forks source link

Customisable Slack-side displayname #22

Open leonerd opened 8 years ago

leonerd commented 8 years ago

Analogously to #18 - it ought to be possible to choose how the Matrix user messages are relayed into Slack. Displayname alone may not be sufficient - either duplicates within the Matrix room (for which hopefully we can apply the same disamb. logic as other clients use), and there might even be clashes with native Slack users. Indeed, there will likely be several overlapping humans who use both sides, so surely they alone will clash if nothing else. It might be nice to offer options on how to resolve those.

neutralinsomniac commented 8 years ago

So it's my understanding that if we leave out the username portion of the payload we send to the slack incoming hook, slack will use the username you specified when you set up the hook. That is probably a more desirable option than implementing the setting ourselves (assuming it works the way slack seems to suggest it does)