package client.Actions;

import org.json.JSONException;

import Common.src.Action;
import Common.src.Comfy;
import Common.src.Logger;

public class MessageAction extends Action {
	private Comfy comfy = null;

	public MessageAction(Comfy comfy) {
		this.comfy = comfy;
	}

	@Override
	public void run() {
		super.run();
		try {
			Logger.log("[" + data.get("to") + "]" + " said: " + data.get("content"));
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}
}

@@ -354,10 +354,12 @@
 et(%22
-to
+from
 %22) +

correct user name display