summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-10 16:54:38 (EDT)
committerEike Stepper2007-10-10 16:54:38 (EDT)
commitd78a684e8e3fb394b8fc3228b828f73834791a6d (patch)
tree1fc1e8b1ddfb53ebfaaab6ddab7ce5a2b32e7e4d
parent9054b54116fa6d480f28095915e6a6cab22f087a (diff)
downloadcdo-d78a684e8e3fb394b8fc3228b828f73834791a6d.zip
cdo-d78a684e8e3fb394b8fc3228b828f73834791a6d.tar.gz
cdo-d78a684e8e3fb394b8fc3228b828f73834791a6d.tar.bz2
[205668] Provide buddies example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205668
-rw-r--r--plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java
index 26df17d..afa3566 100644
--- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java
+++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/protocol/InstallFacilityIndication.java
@@ -53,6 +53,7 @@ public class InstallFacilityIndication extends IndicationWithResponse
String description = String.valueOf(collaborationID);
IFacility facility = (IFacility)IPluginContainer.INSTANCE.getElement(FACILITY_GROUP, facilityType, description);
Collaboration collaboration = (Collaboration)BuddyAdmin.INSTANCE.getCollaborations().get(collaborationID);
+ facility.setCollaboration(collaboration);
collaboration.addFacility(facility);
success = true;
}