Add account name when replying

This commit is contained in:
Justin Mazzocchi 2021-01-31 11:57:37 -08:00
parent 281a7afd7c
commit 7eef46b60a
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -64,6 +64,10 @@ public final class NewStatusViewModel: ObservableObject {
compositionViewModel = CompositionViewModel(eventsSubject: compositionEventsSubject)
}
if let inReplyTo = inReplyTo {
compositionViewModel.text = inReplyTo.accountName.appending(" ")
}
compositionViewModels = [compositionViewModel]
allIdentitiesService.authenticatedIdentitiesPublisher()