From 39d213429d5e9046d8e90efdd0c04da36d51a34f Mon Sep 17 00:00:00 2001 From: Aviral Dasgupta Date: Fri, 16 Sep 2016 02:47:27 +0530 Subject: [PATCH] Disable username and room decorators --- src/RichText.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RichText.js b/src/RichText.js index 97a6f7a053..35ad926b91 100644 --- a/src/RichText.js +++ b/src/RichText.js @@ -119,7 +119,8 @@ export function getScopedRTDecorators(scope: any): CompositeDecorator { } }; - return [usernameDecorator, roomDecorator, emojiDecorator]; + // TODO Re-enable usernameDecorator and roomDecorator + return [emojiDecorator]; } export function getScopedMDDecorators(scope: any): CompositeDecorator {