iBot - 2011-04-05

Custom Emoticons doesn't seem to work with the net WLM 2011.
It did work with 2010.
Source using:

try {
                        MsnObject hey = MsnObject.getInstance(switchboard.getMessenger().
                        getOwner().
                        getEmail().getEmailAddress(),
                        "./resource/CustomEmoticons/hey.gif");
                    hey.setType(MsnObject.TYPE_CUSTOM_EMOTICON);
                    MsnObject kiss = MsnObject.getInstance(switchboard.getMessenger().
                        getOwner().
                        getEmail().getEmailAddress(),
                        "./resource/CustomEmoticons/kiss.gif");
                    kiss.setType(MsnObject.TYPE_CUSTOM_EMOTICON);
                    MsnEmoticonMessage emoticon = new MsnEmoticonMessage();
                    emoticon.putEmoticon(":hey:", hey,switchboard.getMessenger().getDisplayPictureDuelManager()); 
                    emoticon.putEmoticon(":kiss:", kiss, switchboard.getMessenger().getDisplayPictureDuelManager());
                    switchboard.sendMessage(emoticon, true);                
                    } catch (Exception ex) {
                    System.out.println(ex);
                    }
                    MsnInstantMessage reply = new MsnInstantMessage();   
                    reply.setBold(false);        
                    reply.setItalic(false);             
                    reply.setFontRGBColor((int) (Math.random() * 255 * 255 * 255));
                    reply.setContent(":kiss:"+JmlConstants.LINE_SEPARATOR+"hello, " + contact.getFriendlyName()+".:hey: look at my personal message.");  
                    switchboard.sendMessage(reply);

Using latest SVN.