git » sdk » commit 22a383e

Set nick into bookmark

author Stephen Paul Weber
2023-11-20 21:23:10 UTC
committer Stephen Paul Weber
2023-11-20 21:23:10 UTC
parent 64e2507e0cd3925ad455815a5f311667b9be0580

Set nick into bookmark

Movim seems to need it?

xmpp/Chat.hx +1 -0

diff --git a/xmpp/Chat.hx b/xmpp/Chat.hx
index 219fe73..3cf4751 100644
--- a/xmpp/Chat.hx
+++ b/xmpp/Chat.hx
@@ -557,6 +557,7 @@ class Channel extends Chat {
 				.tag("publish", { node: "urn:xmpp:bookmarks:1" })
 				.tag("item", { id: chatId })
 				.tag("conference", { xmlns: "urn:xmpp:bookmarks:1", name: getDisplayName(), autojoin: uiState == Closed ? "false" : "true" })
+				.textTag("nick", client.displayName()) // Redundant but some other clients want it
 				.addChild(extensions)
 				.up().up()
 				.tag("publish-options")