Beispiel #1
0
        public async void AddGroup(string groupName)
        {
            string jid = groupName + "@" + _mucServer;

            Log.Info("joining group " + jid + " as " + this._jid);
            Presence x = await mucManager.EnterRoomAsync(jid, this._jid.Split('@')[0]);

            var mucX = x.MucUser;

            //set
            if (mucX.HasStatus(201))
            {
                await mucManager.RequestInstantRoomAsync(jid);

                Log.Info("Accepted MUC defaults.");
            }
        }