Twitter: Set buddy before sending DirectMessageRequest
This commit is contained in:
parent
9d50d5870e
commit
b0069b4b17
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue