always send #interactionReply (#9330)
This commit is contained in:
@@ -175,24 +175,18 @@ let FeedItemInner = ({
|
|||||||
const {sendInteraction, feedSourceInfo} = useFeedFeedbackContext()
|
const {sendInteraction, feedSourceInfo} = useFeedFeedbackContext()
|
||||||
|
|
||||||
const onPressReply = () => {
|
const onPressReply = () => {
|
||||||
|
sendInteraction({
|
||||||
|
item: post.uri,
|
||||||
|
event: 'app.bsky.feed.defs#interactionReply',
|
||||||
|
feedContext,
|
||||||
|
reqId,
|
||||||
|
})
|
||||||
if (gate('feed_reply_button_open_thread')) {
|
if (gate('feed_reply_button_open_thread')) {
|
||||||
sendInteraction({
|
|
||||||
item: post.uri,
|
|
||||||
event: 'app.bsky.feed.defs#clickthroughItem',
|
|
||||||
feedContext,
|
|
||||||
reqId,
|
|
||||||
})
|
|
||||||
navigation.navigate('PostThread', {
|
navigation.navigate('PostThread', {
|
||||||
name: post.author.did,
|
name: post.author.did,
|
||||||
rkey,
|
rkey,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
sendInteraction({
|
|
||||||
item: post.uri,
|
|
||||||
event: 'app.bsky.feed.defs#interactionReply',
|
|
||||||
feedContext,
|
|
||||||
reqId,
|
|
||||||
})
|
|
||||||
openComposer({
|
openComposer({
|
||||||
replyTo: {
|
replyTo: {
|
||||||
uri: post.uri,
|
uri: post.uri,
|
||||||
|
|||||||
Reference in New Issue
Block a user