diff --git a/src/api/gramjs/methods/messages.ts b/src/api/gramjs/methods/messages.ts index 8209700aa..a1eb6efa9 100644 --- a/src/api/gramjs/methods/messages.ts +++ b/src/api/gramjs/methods/messages.ts @@ -70,6 +70,7 @@ import { interpolateArray } from '../../../util/waveform'; import { requestChatUpdate } from './chats'; import { getEmojiOnlyCountForMessage } from '../../../global/helpers/getEmojiOnlyCountForMessage'; import { getServerTimeOffset } from '../../../util/serverTime'; +import { getApiChatIdFromMtpPeer } from '../apiBuilders/peers'; const FAST_SEND_TIMEOUT = 1000; const INPUT_WAVEFORM_LENGTH = 63; @@ -883,6 +884,9 @@ export async function fetchMessageViews({ views, forwards, messagesCount: replies?.replies, + recentReplierIds: replies?.recentRepliers?.map(getApiChatIdFromMtpPeer), + maxId: replies?.maxId, + readMaxId: replies?.readMaxId, }; }); } diff --git a/src/global/actions/api/messages.ts b/src/global/actions/api/messages.ts index 190a2dc8f..e175858cd 100644 --- a/src/global/actions/api/messages.ts +++ b/src/global/actions/api/messages.ts @@ -1488,6 +1488,9 @@ addActionHandler('loadMessageViews', async (global, actions, payload): Promise