From d6bbcbd86601d490112bfbf5f07bfb6bd7271d40 Mon Sep 17 00:00:00 2001 From: Christoph Scholz Date: Sat, 13 Jan 2018 16:37:49 +0100 Subject: [PATCH] setting room subject also sets room name --- .../eu/siacs/conversations/services/XmppConnectionService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 994679377..0276b73d0 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -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); } }