Merge pull request #2758 from ChaosKid42/master
setting room subject also sets room name
This commit is contained in:
commit
b137681f86
|
@ -2615,9 +2615,10 @@ public class XmppConnectionService extends Service {
|
|||
this.sendMessagePacket(conference.getAccount(), packet);
|
||||
final MucOptions mucOptions = conference.getMucOptions();
|
||||
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();
|
||||
options.putString("muc#roomconfig_persistentroom", "1");
|
||||
options.putString("muc#roomconfig_roomname", subject);
|
||||
this.pushConferenceConfiguration(conference, options, null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue