aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2007-03-02 21:40:52 +0000
committerEmil Ivov <emcho@jitsi.org>2007-03-02 21:40:52 +0000
commit4e020559eb996d420048de8e2b39a4324eee1b36 (patch)
treed8ceb45e2608b8406ad811567c9029f379499022
parent15cdd8cb0aff9bcd10d719481e6a0fb588119de8 (diff)
downloadjitsi-4e020559eb996d420048de8e2b39a4324eee1b36.zip
jitsi-4e020559eb996d420048de8e2b39a4324eee1b36.tar.gz
jitsi-4e020559eb996d420048de8e2b39a4324eee1b36.tar.bz2
gibberish slck (Issue #241) and a better meta contact list ordering policy (Issue #316)
added the possibility to set group persistency
-rw-r--r--src/net/java/sip/communicator/impl/protocol/gibberish/ContactGroupGibberishImpl.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/gibberish/ContactGroupGibberishImpl.java b/src/net/java/sip/communicator/impl/protocol/gibberish/ContactGroupGibberishImpl.java
index 357f6dd..005a501 100644
--- a/src/net/java/sip/communicator/impl/protocol/gibberish/ContactGroupGibberishImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/gibberish/ContactGroupGibberishImpl.java
@@ -429,6 +429,25 @@ public class ContactGroupGibberishImpl
}
/**
+ * Specifies whether or not this contact group is being stored by the server.
+ * Non persistent contact groups are common in the case of simple,
+ * non-persistent presence operation sets. They could however also be seen
+ * in persistent presence operation sets when for example we have received
+ * an event from someone not on our contact list and the contact that we
+ * associated with that user is placed in a non persistent group. Non
+ * persistent contact groups are volatile even when coming from a persistent
+ * presence op. set. They would only exist until the application is closed
+ * and will not be there next time it is loaded.
+ *
+ * @param isPersistent true if the contact group is to be persistent and
+ * false otherwise.
+ */
+ public void setPersistent(boolean isPersistent)
+ {
+ this.isPersistent = isPersistent;
+ }
+
+ /**
* Determines whether or not this contact group is being stored by the
* server. Non persistent contact groups exist for the sole purpose of
* containing non persistent contacts.