Notify the group chat name change to notify the group name change
/**
*
* This method is used: Notify the group chat name to change
* @ Author tianwei
* @ Version
* 4.0 10:50:39
*/
Public static void policymembersmucnamechanged (String mJid, String roomJid,
String newName ){
List <GroupChatContactBean> list = DBService. get ()
. QueryGroupChatContactListByGroupJid (roomJid );
Try {
For (GroupChatContactBean gccb: list ){
If (! Utils. isStrEmpty (gccb. contactJid)
& Gccb. contactJid. equals (mJid ))
Continue;
JSONObject jsonObject = new JSONObject ();
JsonObject. put ("roomJid", roomJid );
JsonObject. put ("new_name", newName );
SendChatMessage (gccb. contactJid,
UipApplication. NAME_CHANGED_GROUPCHAT_MESSAGE_FLAG
+ JsonObject. toString ());
}
} Catch (Exception e ){
E. printStackTrace ();
}
}
You can help me get a group name for the QQ group chat and unify the group name with the announcement and members.
TO:
I'm a sleepwalking, so I'm glad to answer your question. (Group,
If you think that my answer suits your mind, please add the score to me! Thank you very much.
Wow,
---- Gorgeous coda split line ----------------
Answer:
1: group name: Time in the gap
2: Announcement: This is complicated.
3: Member: MISS ,**
Huadu ,**
,**
Weeping ,**
I have answered your question on the other 1 .!!
Hope to have a group for you
Chat group name
Group Name: ◆ ◇'s smile
Group announcement:
Attention to the sponge members! The group owner hereby announces: (if you want to say anything, you can say anything)
Group member name:
◆ ◇ XX quail eggs
◆ ◇ XX quail eggs
◆ ◇ XX quail eggs
◆ ◇ XX quail eggs
◆ ◇ XX quail eggs
······
So proceed. Always unique.