Example #1
0
 private void UpdateDiscoInfo()
 {
     DiscoInfo.RemoveAllChildNodes();
     DiscoInfo.AddIdentity(new DiscoIdentity("text", RoomSettings.Title, "conference"));
     DiscoInfo.AddFeature(new DiscoFeature(Uri.MUC));
     DiscoInfo.AddFeature(new DiscoFeature(Features.FEAT_MUC_ROOMINFO));
     DiscoInfo.AddFeature(new DiscoFeature(Features.FEAT_MUC_ROOMCONFIG));
     foreach (var feature in RoomSettings.GetFeatures())
     {
         DiscoInfo.AddFeature(feature);
     }
 }