mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
show very basic buttons to accept or reject invite
This commit is contained in:
parent
b4ad6142f4
commit
35992ac2fc
@ -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 New Issue
Block a user