From e2c9735e888f37fa30a9744f7aa98222f6a6b257 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Wed, 17 Jan 2018 15:19:26 +0100 Subject: setting room subject also sets room name --- src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/de/pixart/messenger/services') 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); } } -- cgit v1.2.3