Make sure to add the forked author to the p-tag of a note.
This commit is contained in:
@@ -1420,8 +1420,8 @@ class Account(
|
||||
eventId = idHex,
|
||||
signer = signer,
|
||||
) {
|
||||
Client.send(it, relayList = relayList)
|
||||
LocalCache.justConsume(it, null)
|
||||
Client.send(it, relayList = relayList)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -280,7 +280,9 @@ open class NewPostViewModel() : ViewModel() {
|
||||
}
|
||||
|
||||
it.author?.let {
|
||||
if (this.pTags?.contains(it) != true) {
|
||||
if (this.pTags == null) {
|
||||
this.pTags = listOf(it)
|
||||
} else if (this.pTags?.contains(it) != true) {
|
||||
this.pTags = listOf(it) + (this.pTags ?: emptyList())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user