diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs index 605b6a2..33ca632 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs | |||
@@ -396,6 +396,10 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends | |||
396 | 396 | ||
397 | UUID transactionID = UUID.Random(); | 397 | UUID transactionID = UUID.Random(); |
398 | 398 | ||
399 | // 1.20 protocol sends an UUID in the message field, instead of the friendship offer text. | ||
400 | // For interoperability, we have to clear that | ||
401 | if (Util.isUUID(message)) message = ""; | ||
402 | |||
399 | GridInstantMessage msg = new GridInstantMessage(); | 403 | GridInstantMessage msg = new GridInstantMessage(); |
400 | msg.fromAgentID = fromAgentID.Guid; | 404 | msg.fromAgentID = fromAgentID.Guid; |
401 | msg.fromAgentSession = UUID.Zero.Guid; // server IMs don't have a session | 405 | msg.fromAgentSession = UUID.Zero.Guid; // server IMs don't have a session |