mirror of
https://github.com/etesync/android
synced 2025-06-23 16:38:51 +00:00
Fix bug causing group duplication every time a group is changed.
The bug was causing a new group to be created every time a group was changed instead of just changing the group itself.
This commit is contained in:
parent
4184751664
commit
e20e79e840
@ -48,12 +48,11 @@ import ezvcard.VCardVersion;
|
|||||||
import static at.bitfire.vcard4android.GroupMethod.GROUP_VCARDS;
|
import static at.bitfire.vcard4android.GroupMethod.GROUP_VCARDS;
|
||||||
|
|
||||||
public class LocalGroup extends AndroidGroup implements LocalResource {
|
public class LocalGroup extends AndroidGroup implements LocalResource {
|
||||||
protected String uuid;
|
|
||||||
/** marshalled list of member UIDs, as sent by server */
|
/** marshalled list of member UIDs, as sent by server */
|
||||||
public static final String COLUMN_PENDING_MEMBERS = Groups.SYNC3;
|
public static final String COLUMN_PENDING_MEMBERS = Groups.SYNC3;
|
||||||
|
|
||||||
public String getUuid() {
|
public String getUuid() {
|
||||||
return uuid;
|
return getFileName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public LocalGroup(AndroidAddressBook addressBook, long id, String fileName, String eTag) {
|
public LocalGroup(AndroidAddressBook addressBook, long id, String fileName, String eTag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user