diff --git a/backends/libpurple/main.cpp b/backends/libpurple/main.cpp index 36e2df3f..1de35fbc 100644 --- a/backends/libpurple/main.cpp +++ b/backends/libpurple/main.cpp @@ -1101,7 +1101,7 @@ static void *notify_user_info(PurpleConnection *gc, const char *who, PurpleNotif else if (label=="Nickname" || label == "Nick") { nickname = purple_notify_user_info_entry_get_value_wrapped(vcardEntry); } - else if (label=="Full Name") { + else if (label=="Full Name" || label == "Display name") { fullName = purple_notify_user_info_entry_get_value_wrapped(vcardEntry); } else { diff --git a/backends/twitter/TwitterPlugin.cpp b/backends/twitter/TwitterPlugin.cpp index b0ffba6f..fa777960 100644 --- a/backends/twitter/TwitterPlugin.cpp +++ b/backends/twitter/TwitterPlugin.cpp @@ -274,7 +274,7 @@ void TwitterPlugin::handleMessageSendRequest(const std::string &user, const std: } else { - std::string buddy; + std::string buddy = legacyName; if(userdb[user].twitterMode == CHATROOM) buddy = legacyName.substr(legacyName.find("/") + 1); if(legacyName != "twitter") { tp->runAsThread(new DirectMessageRequest(userdb[user].sessions, user, buddy, message,