Fix LLTextBox to work with the updated libOMV

This commit is contained in:
Melanie
2011-07-23 11:39:32 +01:00
parent 504de8bc47
commit 4cdc8806fb
7 changed files with 14 additions and 7 deletions

View File

@@ -141,10 +141,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
{
UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerid);
string ownerFirstName, ownerLastName;
UUID ownerID = UUID.Zero;
if (account != null)
{
ownerFirstName = account.FirstName;
ownerLastName = account.LastName;
ownerID = account.PrincipalID;
}
else
{
@@ -155,7 +157,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
ScenePresence sp = m_scene.GetScenePresence(avatarid);
if (sp != null)
sp.ControllingClient.SendTextBoxRequest(message, chatChannel, name, ownerFirstName, ownerLastName, objectid);
sp.ControllingClient.SendTextBoxRequest(message, chatChannel, name, ownerID, ownerFirstName, ownerLastName, objectid);
}
public void SendNotificationToUsersInRegion(