diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-01-17 15:19:26 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-01-17 15:19:26 +0100 |
commit | e2c9735e888f37fa30a9744f7aa98222f6a6b257 (patch) | |
tree | e4670e9b6e52168479a6b5e3cd9d772a1ba56cda | |
parent | 0f928c60bffc6e6b68930b3b5d42aa506b5bad14 (diff) |
setting room subject also sets room name
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index 9adaad692..576050ec1 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -2804,9 +2804,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); } } |