Don't remove part of JID in prpl-any mode in vcard requets
This commit is contained in:
parent
037cf20326
commit
5ad84a3775
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ class SpectrumNetworkPlugin : public NetworkPlugin {
|
|||
PurpleAccount *account = m_sessions[user];
|
||||
if (account) {
|
||||
std::string name = legacyName;
|
||||
if (CONFIG_STRING(config, "service.protocol") == "any") {
|
||||
if (CONFIG_STRING(config, "service.protocol") == "any" && legacyName.find("prpl-") == 0) {
|
||||
name = name.substr(name.find(".") + 1);
|
||||
}
|
||||
serv_get_info(purple_account_get_connection(account), name.c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue