SubjectPanel: Show room name instead of JID, Fastpath: set subject

This commit is contained in:
Sergey Ponomarev
2026-06-06 23:03:12 +03:00
parent 2dc496400d
commit 204bcd4ed2
3 changed files with 9 additions and 15 deletions

View File

@ -31,9 +31,7 @@ import org.jivesoftware.smack.SmackException;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.packet.MessageBuilder;
import org.jivesoftware.smack.packet.Presence;
import org.jivesoftware.smack.packet.StanzaBuilder;
import org.jivesoftware.smackx.muc.MultiUserChat;
import org.jivesoftware.smackx.workgroup.MetaData;
import org.jivesoftware.smackx.workgroup.agent.*;
@ -566,7 +564,7 @@ public class Workpane {
SparkManager.getChatManager().notifySparkTabHandlers(groupChatRoom);
// Change the subject line.
groupChatRoom.setRoomLabel("<html><body><b>Fastpath Conversation with " + roomName + "</b></body></html>");
groupChatRoom.setRoomSubject("<html><body><b>Fastpath Conversation</b></body></html>");
return true;
}
else if (message != null) {