OSDN Git Service

RAD-492: Added confirmation for "Offer Teleport"
[radegast/radegast.git] / Radegast / Core / Contexts / OfferTeleportAction.cs
index 53413be..be8100e 100644 (file)
@@ -49,7 +49,7 @@ namespace Radegast
         public override void OnInvoke(object sender, EventArgs e, object target)
         {
             UUID id = ToUUID(target);
-            Client.Self.SendTeleportLure(id, "Join me in " + Client.Network.CurrentSim.Name + "!");
+            instance.MainForm.AddNotification(new ntfSendLureOffer(instance, id));
             instance.TabConsole.DisplayNotificationInChat(string.Format("Sent Lure to {0}", id));
         }
     }