通知群聊名稱變化,通知群名稱變化

來源:互聯網
上載者:User

通知群聊名稱變化,通知群名稱變化
/**
 * 
 * This method is used :通知群聊名稱變化
 * @author tianwei 
 * @version  
 *     4.0 2014-9-5 上午10:50:39
 */
public static void notifyMembersMucNameChanged(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();
}


}
大家幫我取個QQ群聊天的群名字與公告 與成員統一名字

TO:
O(∩_∩)O我是夢遊,很高興為你回答。(群發、

如果你覺得我的回答合你心意、請將分值加於我!嗯啦,萬分感謝

哇啦啦、

----華麗噠分割線------------- - - -

回答:

1:群名:遊隙中的時光

2:公告:這個自己想吧、太複雜了

3:成員:MISS、**

花都、**

醉愛、**

花泣、**

我已經回答過你另外一號的問題了。!!

希望對你有幫組
 
聊天群名字

群名: ◆◇丶 海綿寶寶的微笑
群公告:
海綿成員們請注意!本群主在此公告:(後面你想說什麼就說什麼)
群成員名字:
◆◇丶 某某 ╰ 蛋蛋
◆◇丶 某某 ╰ 蛋蛋
◆◇丶 某某 ╰ 蛋蛋
◆◇丶 某某 ╰ 蛋蛋
◆◇丶 某某 ╰ 蛋蛋
······

就這麼排下去。 保准獨一無二。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.