Mercurial > pidgin
changeset 25583:51ff18d00dea
We don't have purple_strequal yet in the past.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 29 Apr 2009 18:33:39 +0000 |
parents | 7ea04b53f553 |
children | 53ea8bed8e18 |
files | libpurple/conversation.c libpurple/server.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/conversation.c Wed Apr 29 18:24:34 2009 +0000 +++ b/libpurple/conversation.c Wed Apr 29 18:33:39 2009 +0000 @@ -1481,7 +1481,7 @@ str = purple_normalize(account, who); - if (purple_strequal(str, chat->nick)) { + if (!strcmp(str, chat->nick)) { flags |= PURPLE_MESSAGE_SEND; } else { flags |= PURPLE_MESSAGE_RECV;
--- a/libpurple/server.c Wed Apr 29 18:24:34 2009 +0000 +++ b/libpurple/server.c Wed Apr 29 18:33:39 2009 +0000 @@ -936,7 +936,7 @@ return; /* Did I send the message? */ - if (purple_strequal(purple_conv_chat_get_nick(chat), + if (!strcmp(purple_conv_chat_get_nick(chat), purple_normalize(purple_conversation_get_account(conv), who))) { flags |= PURPLE_MESSAGE_SEND; flags &= ~PURPLE_MESSAGE_RECV; /* Just in case some prpl sets it! */