Closed GoogleCodeExporter closed 9 years ago
I'm not sure if i'm right but you send an Offline Instant Message.
Why don't you set up a conversation with Target and send a normal message
through the conversation?
Original comment by freakysm...@gmail.com
on 17 Jun 2010 at 8:46
I'm not sure how to start a conversation, since it fails since it thinks I'm
offline.
Original comment by not...@gmail.com
on 17 Jun 2010 at 9:50
Is it coming online when you try this (you can check with another messenger)?
static void SignedIn(object sender, EventArgs e)
{
handler = sender as NSMessageHandler;
Console.WriteLine("---- Event SignedIn ---- ");
Console.WriteLine("Signed in as " + handler.Credentials.Account);
messenger.Owner.Status = PresenceStatus.Online; // this is the change
Thread.Sleep(5000);
signedinevent.Set();
}
If it is, you can create a new conversation and invite the target and start
sending messages.
Original comment by freakysm...@gmail.com
on 17 Jun 2010 at 10:05
Nope that didn't change anything. That sets the owner's status to online. The
problem is it thinks the *message recipient* is offline.
Original comment by not...@gmail.com
on 17 Jun 2010 at 10:21
Ah i see. Are both the sender as the receiver on the allowed list? if not you
can't see the online status and the messages are not send.
Original comment by freakysm...@gmail.com
on 17 Jun 2010 at 10:28
Well, I'm not sure what an AllowedList is, but for messenger.Owner and for the
recipient Contact:
Owner.OnAllowedList = False
Recipient.OnAllowedList = True
Original comment by not...@gmail.com
on 17 Jun 2010 at 10:36
Try to switch the accounts.
So log into MSN with todstevenson@hotmail.com and let your code send with
notfed@gmail.com
Original comment by freakysm...@gmail.com
on 17 Jun 2010 at 10:41
Thanks, freakysmoker. I think I have the problem fixed.
I realized I had myself blocked. Thus I appeared offline. I don't know WHY I
had myself blocked, but I did.
Original comment by not...@gmail.com
on 17 Jun 2010 at 11:07
You're welcome.
Glad to see you have fixed the problem.
Good luck with the rest of your application.
Original comment by freakysm...@gmail.com
on 17 Jun 2010 at 11:10
[deleted comment]
Looks like this is fixed. Please check more closely next time, but thanks
freakysmoker for helping notfed :)
Original comment by electk...@gmail.com
on 18 Jun 2010 at 6:14
Original issue reported on code.google.com by
not...@gmail.com
on 17 Jun 2010 at 7:30