show very basic buttons to accept or reject invite

This commit is contained in:
Bruno Windels 2021-04-21 17:50:41 +02:00
parent b4ad6142f4
commit 35992ac2fc

View file

@ -33,7 +33,11 @@ export class InviteView extends TemplateView {
]),
]),
t.div({className: "RoomView_error"}, vm => vm.error),
t.div(`You were invited into this room!`)
t.div([
t.p(`You were invited into this room!`),
t.p(t.button({onClick: () => vm.accept()}, vm.i18n`Accept`)),
t.p(t.button({onClick: () => vm.reject()}, vm.i18n`Reject`)),
])
])
]);
}