setting room subject also sets room name
This commit is contained in:
parent
de23b37ee2
commit
d6bbcbd866
|
@ -2615,9 +2615,10 @@ public class XmppConnectionService extends Service {
|
||||||
this.sendMessagePacket(conference.getAccount(), packet);
|
this.sendMessagePacket(conference.getAccount(), packet);
|
||||||
final MucOptions mucOptions = conference.getMucOptions();
|
final MucOptions mucOptions = conference.getMucOptions();
|
||||||
final MucOptions.User self = mucOptions.getSelf();
|
final MucOptions.User self = mucOptions.getSelf();
|
||||||
if (!mucOptions.persistent() && self.getAffiliation().ranks(MucOptions.Affiliation.OWNER)) {
|
if (self.getAffiliation().ranks(MucOptions.Affiliation.OWNER)) {
|
||||||
Bundle options = new Bundle();
|
Bundle options = new Bundle();
|
||||||
options.putString("muc#roomconfig_persistentroom", "1");
|
options.putString("muc#roomconfig_persistentroom", "1");
|
||||||
|
options.putString("muc#roomconfig_roomname", subject);
|
||||||
this.pushConferenceConfiguration(conference, options, null);
|
this.pushConferenceConfiguration(conference, options, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue