mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Hide reply option on pending tile
This commit is contained in:
parent
951af49e04
commit
ef5a377bc6
@ -105,7 +105,7 @@ export class BaseMessageView extends TemplateView {
|
|||||||
|
|
||||||
createMenuOptions(vm) {
|
createMenuOptions(vm) {
|
||||||
const options = [];
|
const options = [];
|
||||||
if (vm.canReact && vm.shape !== "redacted") {
|
if (vm.canReact && vm.shape !== "redacted" && !vm.isPending) {
|
||||||
options.push(new QuickReactionsMenuOption(vm));
|
options.push(new QuickReactionsMenuOption(vm));
|
||||||
options.push(Menu.option(vm.i18n`Reply`, () => vm.startReply()));
|
options.push(Menu.option(vm.i18n`Reply`, () => vm.startReply()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user