OSDN Git Service

Adjust to api change in LIBOMV-877
authorLatif Khalifa <latifer@streamgrid.net>
Thu, 21 Oct 2010 13:33:42 +0000 (13:33 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Thu, 21 Oct 2010 13:33:42 +0000 (13:33 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@754 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Consoles/TabsConsole.cs
Radegast/GUI/Notifications/TeleportNotification.cs

index c1f4369..bfe3e60 100644 (file)
@@ -332,7 +332,7 @@ namespace Radegast
                     if (instance.RLV.AutoAcceptTP(e.IM.FromAgentID))
                     {
                         DisplayNotificationInChat("Auto accepting teleprot from " + e.IM.FromAgentName);
-                        instance.Client.Self.TeleportLureRespond(e.IM.FromAgentID, true);
+                        instance.Client.Self.TeleportLureRespond(e.IM.FromAgentID, e.IM.IMSessionID, true);
                     }
                     else
                     {
index 70580d1..261423a 100644 (file)
@@ -62,13 +62,13 @@ namespace Radegast
 
         private void btnTeleport_Click(object sender, EventArgs e)
         {
-            instance.Client.Self.TeleportLureRespond(msg.FromAgentID, true);
+            instance.Client.Self.TeleportLureRespond(msg.FromAgentID, msg.IMSessionID, true);
             instance.MainForm.RemoveNotification(this);
         }
 
         private void btnCancel_Click(object sender, EventArgs e)
         {
-            instance.Client.Self.TeleportLureRespond(msg.FromAgentID, false);
+            instance.Client.Self.TeleportLureRespond(msg.FromAgentID, msg.IMSessionID, false);
             instance.MainForm.RemoveNotification(this);
         }
     }