示例#1
0
        public override Task Topic(string roomName, params string[] messages)
        {
            var mucManager = new MucManager(_client);

            mucManager.ChangeSubject(new Jid(roomName), string.Join(" ", messages));

            return(Task.FromResult(0));
        }
示例#2
0
文件: Xmpp.cs 项目: filiperamon/Beet
        public void ChangeGroupSubject(string groupName, string subject)
        {
            string jid = groupName + "@" + _mucServer;

            mucManager.ChangeSubject(jid, subject);
        }
示例#3
0
        public override async Task Topic(string roomName, params string[] messages)
        {
            var mucManager = new MucManager(_client);

            mucManager.ChangeSubject(new Jid(roomName), string.Join(" ", messages));
        }