Making NewPost Screen to be about Kind 1 and polls only
This commit is contained in:
@@ -41,6 +41,7 @@ import com.vitorpamplona.quartz.utils.TimeUtils
|
||||
import com.vitorpamplona.quartz.utils.lastNotNullOfOrNull
|
||||
|
||||
@Immutable
|
||||
@Deprecated("Replaced by NIP-22")
|
||||
class GitReplyEvent(
|
||||
id: HexKey,
|
||||
pubKey: HexKey,
|
||||
@@ -68,6 +69,7 @@ class GitReplyEvent(
|
||||
const val KIND = 1622
|
||||
const val ALT_DESCRIPTION = "A Git Reply"
|
||||
|
||||
@Deprecated("Replaced by NIP-22")
|
||||
fun reply(
|
||||
post: String,
|
||||
replyingTo: EventHintBundle<GitReplyEvent>,
|
||||
@@ -80,6 +82,7 @@ class GitReplyEvent(
|
||||
initializer()
|
||||
}
|
||||
|
||||
@Deprecated("Replaced by NIP-22")
|
||||
fun replyIssue(
|
||||
post: String,
|
||||
issue: EventHintBundle<GitIssueEvent>,
|
||||
@@ -92,6 +95,7 @@ class GitReplyEvent(
|
||||
initializer()
|
||||
}
|
||||
|
||||
@Deprecated("Replaced by NIP-22")
|
||||
fun replyPatch(
|
||||
post: String,
|
||||
patch: EventHintBundle<GitPatchEvent>,
|
||||
|
||||
@@ -41,6 +41,7 @@ import com.vitorpamplona.quartz.nip31Alts.alt
|
||||
import com.vitorpamplona.quartz.utils.TimeUtils
|
||||
|
||||
@Immutable
|
||||
@Deprecated("Replaced by NIP-22")
|
||||
class TorrentCommentEvent(
|
||||
id: HexKey,
|
||||
pubKey: HexKey,
|
||||
@@ -92,6 +93,7 @@ class TorrentCommentEvent(
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated("Replaced by NIP-22")
|
||||
fun build(
|
||||
post: String,
|
||||
createdAt: Long = TimeUtils.now(),
|
||||
|
||||
Reference in New Issue
Block a user