summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_bookmarks.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-09 13:23:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-09 13:23:25 +0300
commitd5d66b8a85c970595e28a01877844dc0a65e2003 (patch)
tree711b542f5d2836b412821eebec03fa8f8a67fa77 /protocols/JabberG/src/jabber_bookmarks.cpp
parentb95dc7e61ba02fdd12b1c11142db6c7aebfffd53 (diff)
fixes #3412 (Jabber: If no nick for room in Bookmarks Miranda uses user ID as nick)
Diffstat (limited to 'protocols/JabberG/src/jabber_bookmarks.cpp')
-rw-r--r--protocols/JabberG/src/jabber_bookmarks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_bookmarks.cpp b/protocols/JabberG/src/jabber_bookmarks.cpp
index 396861f691..8fba42a1aa 100644
--- a/protocols/JabberG/src/jabber_bookmarks.cpp
+++ b/protocols/JabberG/src/jabber_bookmarks.cpp
@@ -393,7 +393,7 @@ public:
if (item->nick && *item->nick)
m_proto->GroupchatJoinRoom(server, room, item->nick, item->password);
else
- m_proto->GroupchatJoinRoom(server, room, ptrA(JabberNickFromJID(m_proto->m_szJabberJID)), item->password);
+ m_proto->GroupchatJoinRoom(server, room, m_proto->MyNick(), item->password);
}
}
else Utils_OpenUrlW(Utf2T(item->jid));