Removes the debug r tag used to test.

This commit is contained in:
Vitor Pamplona 2023-08-24 18:54:48 -04:00
parent 1e358d31d5
commit 3273aa32a5

View File

@ -44,7 +44,7 @@ class StatusEvent(
privateKey: ByteArray,
createdAt: Long = TimeUtils.now()
): StatusEvent {
val tags = event.tags.plus(listOf(listOf("r", "http://amethyst.social")))
val tags = event.tags
val pubKey = event.pubKey()
val id = generateId(pubKey, createdAt, kind, tags, newStatus)
val sig = CryptoUtils.sign(id, privateKey)