[DMs] Reactions - link up API (attempt 2) (#8074)
* update package * wire up APIs * get reactions to display * allow removing emoji * handle limits better * listen to reactions in log * update convo list with reactions * tweaks to reaction display * Handle empty message fallback case * update package * shift reacts up by 2px --------- Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import React, {useContext, useState, useSyncExternalStore} from 'react'
|
||||
import {ChatBskyConvoDefs} from '@atproto/api'
|
||||
import {type ChatBskyConvoDefs} from '@atproto/api'
|
||||
import {useFocusEffect} from '@react-navigation/native'
|
||||
import {useQueryClient} from '@tanstack/react-query'
|
||||
|
||||
import {useAppState} from '#/lib/hooks/useAppState'
|
||||
import {Convo} from '#/state/messages/convo/agent'
|
||||
import {
|
||||
ConvoParams,
|
||||
ConvoState,
|
||||
ConvoStateBackgrounded,
|
||||
ConvoStateDisabled,
|
||||
ConvoStateReady,
|
||||
ConvoStateSuspended,
|
||||
type ConvoParams,
|
||||
type ConvoState,
|
||||
type ConvoStateBackgrounded,
|
||||
type ConvoStateDisabled,
|
||||
type ConvoStateReady,
|
||||
type ConvoStateSuspended,
|
||||
} from '#/state/messages/convo/types'
|
||||
import {isConvoActive} from '#/state/messages/convo/util'
|
||||
import {useMessagesEventBus} from '#/state/messages/events'
|
||||
|
||||
Reference in New Issue
Block a user