[Dev] Comments: Remove unnecessary requestThreadInfoUpdate (#2577)
This commit is contained in:
parent
b0310391c2
commit
787a9f5c93
@ -129,14 +129,6 @@ addActionHandler('openChat', (global, actions, payload): ActionReturnType => {
|
|||||||
actions.toggleChatUnread({ id });
|
actions.toggleChatUnread({ id });
|
||||||
}
|
}
|
||||||
|
|
||||||
// Please telegram send us some updates about linked chat 🙏
|
|
||||||
if (chat?.lastMessage?.repliesThreadInfo) {
|
|
||||||
actions.requestThreadInfoUpdate({
|
|
||||||
chatId: chat.lastMessage.repliesThreadInfo.chatId,
|
|
||||||
threadId: chat.lastMessage.repliesThreadInfo.threadId,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!chat) {
|
if (!chat) {
|
||||||
if (id === currentUserId) {
|
if (id === currentUserId) {
|
||||||
void callApi('fetchChat', { type: 'self' });
|
void callApi('fetchChat', { type: 'self' });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user