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
1 changed files with 4 additions and 0 deletions

View File

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