コード例 #1
0
 private final void actualShareGroup()
 {
   if (this.mTalkingGroupInfo == null)
     return;
   Locale localLocale = Locale.CHINESE;
   String str1 = CONTENTS[1];
   Object[] arrayOfObject = new Object[1];
   arrayOfObject[0] = this.mTalkingGroupInfo.groupName;
   String str2 = String.format(localLocale, str1, arrayOfObject);
   QTMSGManage.getInstance().sendStatistcsMessage("im_share");
   ShareUtil.shareToPlatform(str2, 1, 2);
 }
コード例 #2
0
 private void actualCheckin()
 {
   if (this.mTalkingGroupInfo == null)
     return;
   if (!IMContacts.getInstance().hasWatchedGroup(this.mTalkingId))
     InfoManager.getInstance().getUserProfile().followGroup(this.mTalkingId);
   String str1 = "";
   List localList = this.mTalkingGroupInfo.lstAdmins;
   int i;
   Object localObject;
   UserInfo localUserInfo;
   String str6;
   String str4;
   if ((localList != null) && (localList.size() > 0))
   {
     i = 0;
     localObject = str1;
     if (i < localList.size())
     {
       localUserInfo = (UserInfo)localList.get(i);
       if ((localUserInfo instanceof AdminInfo))
       {
         str6 = ((AdminInfo)localUserInfo).weiboName;
         if ((str6 != null) && (str6.length() != 0))
           break label290;
         str4 = localUserInfo.snsInfo.sns_name;
       }
     }
   }
   while (true)
   {
     String str5 = (String)localObject + "@" + str4 + " ";
     i++;
     localObject = str5;
     break;
     str4 = localUserInfo.snsInfo.sns_name;
     continue;
     str1 = (String)localObject + "还有";
     Locale localLocale = Locale.CHINESE;
     String str2 = CONTENTS[2];
     Object[] arrayOfObject = new Object[3];
     arrayOfObject[0] = this.mTalkingGroupInfo.groupName;
     arrayOfObject[1] = str1;
     arrayOfObject[2] = this.mTalkingGroupInfo.groupName;
     String str3 = String.format(localLocale, str2, arrayOfObject);
     sendMessage("签个到,大家好呀~~", 1);
     QTMSGManage.getInstance().sendStatistcsMessage("im_checkin");
     ShareUtil.shareToPlatform(str3, 8, 9);
     return;
     label290: str4 = str6;
   }
 }
コード例 #3
0
 private void actualFlowerToUser(UserInfo paramUserInfo)
 {
   if (!IMContacts.getInstance().hasWatchedGroup(this.mTalkingId))
     InfoManager.getInstance().getUserProfile().followGroup(this.mTalkingId);
   if ((paramUserInfo instanceof AdminInfo))
   {
     str1 = ((AdminInfo)paramUserInfo).weiboName;
     if ((str1 != null) && (str1.length() != 0));
   }
   for (String str1 = paramUserInfo.snsInfo.sns_name; ; str1 = paramUserInfo.snsInfo.sns_name)
   {
     String str2 = String.format(Locale.CHINESE, CONTENTS[0], new Object[] { str1 });
     QTMSGManage.getInstance().sendStatistcsMessage("im_flower");
     ShareUtil.shareToPlatform(str2, 10, 11);
     return;
   }
 }