Commit 27946891 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Couple of MSN tweaks.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4898 b35dd754-fafc-0310-a699-88a17e54d16e
parent 19b4918d
......@@ -47,12 +47,12 @@ public class MSNListener extends MsnAdapter {
* Handles incoming messages from MSN.
*/
public void instantMessageReceived(MsnSwitchboard switchboard, MsnInstantMessage message, MsnContact friend) {
Log.debug("MSN: Received im to " + switchboard + " from " + friend + ": " + message.toString());
Log.debug("MSN: Received im to " + switchboard + " from " + friend + ": " + message.getContent());
Message m = new Message();
m.setType(Message.Type.chat);
m.setTo(msnSession.getJIDWithHighestPriority());
m.setFrom(msnSession.getTransport().convertIDToJID(friend.getEmail().toString()));
m.setBody(message.toString());
m.setBody(message.getContent());
msnSession.getTransport().sendPacket(m);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment