forked from mystiq/hydrogen-web
show very basic buttons to accept or reject invite
This commit is contained in:
parent
b4ad6142f4
commit
35992ac2fc
1 changed files with 5 additions and 1 deletions
|
@ -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`)),
|
||||
])
|
||||
])
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue