summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsessiontab.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2021-06-10 09:25:50 +0000
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2021-06-10 09:25:50 +0000
commit0ea94d2948ba8237fd39fa0df219e07ee44c9ff1 (patch)
tree71b56d5d6937a66166ca17eb0413a4a88c363113 /indra/newview/llfloaterimsessiontab.cpp
parentce65bc2f13409d75dbc6502c970030cc5ed2e5ad (diff)
parent4623b822386accfae5907c88099c2a88377a0271 (diff)
Merged master into DRTVWR-539
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
-rw-r--r--indra/newview/llfloaterimsessiontab.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp
index e7f428c06a..7541bb5efe 100644
--- a/indra/newview/llfloaterimsessiontab.cpp
+++ b/indra/newview/llfloaterimsessiontab.cpp
@@ -497,7 +497,10 @@ void LLFloaterIMSessionTab::buildConversationViewParticipant()
while (current_participant_model != end_participant_model)
{
LLConversationItem* participant_model = dynamic_cast<LLConversationItem*>(*current_participant_model);
- addConversationViewParticipant(participant_model);
+ if (participant_model)
+ {
+ addConversationViewParticipant(participant_model);
+ }
current_participant_model++;
}
}