Don't include list owner when parsing members on tag save

pull/14/head
Sam Bosley 11 years ago
parent 4fc9a49e3d
commit 1bbdf61a87

@ -235,6 +235,8 @@ public class PeopleContainer extends LinearLayout {
if (peopleAsJSON) {
JSONObject person = PeopleContainer.createUserJson(textView);
if (person != null) {
if (person.optBoolean("owner")) //$NON-NLS-1$
continue;
String email = person.optString("email");
Long id = person.optLong("id", -1);
if (!TextUtils.isEmpty(email) && !addedEmails.contains(email)) {

Loading…
Cancel
Save