Pinning is not supported for gift badges

This commit is contained in:
kate-signal 2026-01-05 15:35:27 -05:00 committed by GitHub
parent ec42eb63a3
commit a2b228875b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,6 +217,10 @@ enum MessageActionBuilder {
}
}
guard itemViewModel.componentState.giftBadge == nil else {
return nil
}
guard let footerState = itemViewModel.renderItem.itemViewState.footerState else {
return nil
}