(fix): Selecting a channel when creating a post returns `[object Object]` and not the channel name

Summary

When writing a post I try to reference a channel by typing @ followed by the name. However [object Object] is inserted into the post as opposed to the channel name. Note this happens only when selecting an auto suggested channel by pressing enter on the keyboard. When selected using the cursor works as expected.

Steps to reproduce

  • Go to speak your mind
  • Type @ramial then locate Rami Albatal
  • Highlight Rami using the keyboard arrows
  • Confirm selection by pressing enter/return

Platform information

Chrome 75, MacOS

What is the current bug behavior?

Inserts an object instead of a string

What is the expected correct behavior?

Channel Name

Relevant logs and/or screenshots

bug