package com.efounder.chat.utils;

import com.efounder.message.struct.IMStruct002;

/**
 * 消息风格（气泡 头像挂件）
 */


public class JFChatStyleManager {
    //头像挂饰
    public static final String KEY_AVATAR_HANG = "avatarHang";
    //气泡
    public static final String KEY_BUBBLE = "bubble";
    //收消息字体颜色
    public static final String KEY_INCOME_COLOR = "incomeTextColor";
    //发消息字体颜色
    public static final String KEY_OUT_COLOR = "outTextColor";

    /**
     * 准备消息的风格
     *
     * @param imStruct002
     */
    public static void prepareMessage(IMStruct002 imStruct002) {
        String message = imStruct002.getMessage();
//        if (message != null && message.contains("滔米链")) {
//            imStruct002.putExtra(KEY_AVATAR_HANG, "1001");
//            imStruct002.putExtra(KEY_BUBBLE, "1001");
//            imStruct002.putExtra(KEY_INCOME_COLOR, "136,68,0");
//            imStruct002.putExtra(KEY_OUT_COLOR, "136,68,0");
//
//        }

    }
}
