Menu

How to get the sender info when msg received?

Help
tin chen
2005-12-26
2013-04-29
  • tin chen

    tin chen - 2005-12-26

    Hi~

    When I use
    public void instantMessageReceived(MsnSwitchboard switchboard, MsnInstantMessage message, MsnContact contact) {
      // add to a List
    }

    How can I get the sender info of this MsnInstantMessage ?

    Thank you very much!!

     
    • Roger Chen

      Roger Chen - 2005-12-26

      The contact parameter indicate the sender info, such as contact.getEmail/getDisplayName ...

       
    • tin chen

      tin chen - 2005-12-26

      Hi~

      So fool I'm... thanks very much!!
      I feel JML is a very nice and powerful Java Msn library, thanks for your effort.

      Merry Christmas !!!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.