Prevent an exception if no offline messages were retrieved.
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue