mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Prevent an exception if no offline messages were retrieved.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
dda44e31e3
commit
3fe5e9057f
@@ -182,7 +182,10 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||
"POST", m_RestURL + "/RetrieveMessages/", client.AgentId);
|
||||
|
||||
if (msglist == null)
|
||||
{
|
||||
m_log.WarnFormat("[OFFLINE MESSAGING]: WARNING null message list.");
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (GridInstantMessage im in msglist)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user