🐛 Fix mark-post-known handler not being registered
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 10 Dec 2019 15:44:21 +0000 (16:44 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 Dec 2019 15:59:13 +0000 (16:59 +0100)
commit069a5d8f4a6d7569e6ecd66ba2a57a3fd4db582f
tree831188fd22bf19591b41e433bb5b22a135d488be
parentbfa49c59a39fddd8bed21bdac98d8bd21e8cb525
🐛 Fix mark-post-known handler not being registered

Turns out if you do not use constructor or member injection to create
a type, Guice will not notify you about it.
src/main/kotlin/net/pterodactylus/sone/utils/Functions.kt [new file with mode: 0644]
src/main/kotlin/net/pterodactylus/sone/web/notification/MarkPostKnownDuringFirstStartHandler.kt
src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt
src/test/kotlin/net/pterodactylus/sone/web/notification/MarkPostKnownDuringFirstStartHandlerTest.kt