From e1e25f9a0d8e8d6f7b89673183ca570854984685 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Fri, 26 Jun 2020 15:10:46 +0300 Subject: SL-13397 Reduce Viewer freeze when opening chat with a large group. --- indra/newview/llfloaterimcontainer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llfloaterimcontainer.h') diff --git a/indra/newview/llfloaterimcontainer.h b/indra/newview/llfloaterimcontainer.h index 78b3572111..530a8e66c8 100644 --- a/indra/newview/llfloaterimcontainer.h +++ b/indra/newview/llfloaterimcontainer.h @@ -181,6 +181,7 @@ private: bool isParticipantListExpanded(); void idleUpdate(); // for convenience (self) from static idle + void idleProcessEvents(); LLButton* mExpandCollapseBtn; LLButton* mStubCollapseBtn; @@ -220,6 +221,7 @@ private: LLConversationViewSession* createConversationItemWidget(LLConversationItem* item); LLConversationViewParticipant* createConversationViewParticipant(LLConversationItem* item); bool onConversationModelEvent(const LLSD& event); + void handleConversationModelEvent(const LLSD& event); // Conversation list data LLPanel* mConversationsListPanel; // This is the main widget we add conversation widget to @@ -229,6 +231,8 @@ private: LLFolderView* mConversationsRoot; LLEventStream mConversationsEventStream; + std::deque mConversationEventQueue; + LLTimer mParticipantRefreshTimer; }; -- cgit v1.2.3