🔀 Merge changes from other next branch
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / core / event / NewPostFoundEvent.kt
index ba7f957..83cb618 100644 (file)
@@ -22,9 +22,4 @@ import net.pterodactylus.sone.data.Post
 /**
  * Event that signals that a new post was found.
  */
-data class NewPostFoundEvent(val post: Post) {
-
-       @Deprecated(message = "will go away", replaceWith = ReplaceWith("post"))
-       fun post() = post
-
-}
+data class NewPostFoundEvent(val post: Post)