diff options
author | Yorhel <git@yorhel.nl> | 2020-10-08 15:09:09 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-10-08 15:09:14 +0200 |
commit | 6d8c7104e6f01d3f1b8c048f2641940b4838a85e (patch) | |
tree | d42c9270e8a6746a85a728989a68935d754fe9c6 /lib/VNWeb/Discussions | |
parent | 7eb7a3e073107bb5ad6ec20ae18f296bde33b4da (diff) |
notifications: Add subscription management UI + finalize DB migration
Seems to be working so far. I'll find the actual bugs in production.
Diffstat (limited to 'lib/VNWeb/Discussions')
-rw-r--r-- | lib/VNWeb/Discussions/Thread.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/Thread.pm b/lib/VNWeb/Discussions/Thread.pm index 39de4b96..dd443d93 100644 --- a/lib/VNWeb/Discussions/Thread.pm +++ b/lib/VNWeb/Discussions/Thread.pm @@ -194,7 +194,7 @@ TUWF::get qr{/$RE{tid}(?:(?<sep>[\./])$RE{num})?}, sub { auth->notiRead($id, [ map $_->{num}, $posts->@* ]) if @$posts; - framework_ title => $t->{title}, $num ? (js => 1, pagevars => {sethash=>$num}) : (), sub { + framework_ title => $t->{title}, type => 't', dbobj => $t, $num ? (js => 1, pagevars => {sethash=>$num}) : (), sub { metabox_ $t; elm_ 'Discussions.Poll' => $POLL_OUT, { question => $t->{poll_question}, |