[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 });
|
||||
}
|
||||
|
||||
// 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 (id === currentUserId) {
|
||||
void callApi('fetchChat', { type: 'self' });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user