Hide reply option on pending tile

This commit is contained in:
RMidhunSuresh 2022-01-13 18:30:58 +05:30
parent 951af49e04
commit ef5a377bc6

View file

@ -105,7 +105,7 @@ export class BaseMessageView extends TemplateView {
createMenuOptions(vm) {
const options = [];
if (vm.canReact && vm.shape !== "redacted") {
if (vm.canReact && vm.shape !== "redacted" && !vm.isPending) {
options.push(new QuickReactionsMenuOption(vm));
options.push(Menu.option(vm.i18n`Reply`, () => vm.startReply()));
}