correctly send pills in messages
This commit is contained in:
parent
d7c2c8ba7b
commit
9c0c806af4
8 changed files with 159 additions and 63 deletions
|
@ -40,6 +40,7 @@ export default class NotifProvider extends AutocompleteProvider {
|
|||
if (command && command[0] && '@room'.startsWith(command[0]) && command[0].length > 1) {
|
||||
return [{
|
||||
completion: '@room',
|
||||
completionId: '@room',
|
||||
suffix: ' ',
|
||||
component: (
|
||||
<PillCompletion initialComponent={<RoomAvatar width={24} height={24} room={this.room} />} title="@room" description={_t("Notify the whole room")} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue