Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Bot has to recognize the logged user ID and compare it
Avatar
Aleksandar #1
Member since Dec 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to get logged User's own Jabber ID
I have a bot, which should run at the server, the bot has a WakeOnLan function.

example :
If i am making homeoffice , i can turn my pc in the office on. But my PC ONLY, just typing "wakeup".
This solution should save electrical power.

the problem:
Bot has to recognize the logged user ID and compare some attributes (IP, ComputerName, MAC) in the DB.

the question:
how can I access to my own JID?
Avatar
Aleksandar #2
Member since Dec 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
ok, solved

following Property :

msg.From.Bare
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP SDK Support RSS