1 package net.pterodactylus.sone.text
4 * [LinkPart] implementation that stores an additional attribute: if the
5 * link is an SSK or USK link and the post was created by an identity that owns
6 * the keyspace in question.
8 data class FreenetLinkPart(val link: String, override val text: String, val title: String, val trusted: Boolean = false) : Part {
10 constructor(link: String, text: String, trusted: Boolean) : this(link, text, link, trusted)