mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Can delete the Offline Messages sent to/from a user.
This is useful if the user is deleted.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
46c2791fe2
commit
2d9d6fe922
@@ -124,5 +124,12 @@ namespace OpenSim.OfflineIM
|
||||
return m_Database.Store(data);
|
||||
|
||||
}
|
||||
|
||||
public void DeleteMessages(UUID userID)
|
||||
{
|
||||
m_Database.Delete("PrincipalID", userID.ToString());
|
||||
m_Database.Delete("FromID", userID.ToString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user