|
@@ -52,6 +52,9 @@ public class GroupUtils {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public static boolean isAdminFromExtra(String extra) {
|
|
public static boolean isAdminFromExtra(String extra) {
|
|
|
|
+ if (TextUtils.equals(GroupUtils.GROUP_ADMIN_TAG, extra)) {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
try {
|
|
try {
|
|
JSONObject jsonObject = new JSONObject(extra);
|
|
JSONObject jsonObject = new JSONObject(extra);
|
|
if (jsonObject.has(GROUP_ADMIN_KEY)) {
|
|
if (jsonObject.has(GROUP_ADMIN_KEY)) {
|