summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-02-26 21:39:27 +0000
committerRobert Pösel <robyer@seznam.cz>2013-02-26 21:39:27 +0000
commit5542cf1738d621565ac71b8d02244234a9865a36 (patch)
tree2bf93f55569b2eaac1f0c77c00d71b6b959cc20f
parentbca327466d9461ee453ae2cb9e0175f7c9895b2b (diff)
Reverted custom smileys in outgoing messages for now, we need better solution for them.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/SmileyAdd/src/services.cpp4
-rw-r--r--protocols/FacebookRM/src/messages.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp
index c7f915eec9..b2e749305b 100644
--- a/plugins/SmileyAdd/src/services.cpp
+++ b/plugins/SmileyAdd/src/services.cpp
@@ -102,8 +102,8 @@ INT_PTR ReplaceSmileysCommand(WPARAM, LPARAM lParam)
else if (smrec.rangeToReplace->cpMax < 0) smrec.rangeToReplace->cpMax = LONG_MAX;
SmileyPackCType* smcp = NULL;
- SmileyPackType* SmileyPack = GetSmileyPack(smrec.Protocolname, smrec.hContact,/*
- (smrec.flags & (SAFLRE_OUTGOING | SAFLRE_NOCUSTOM)) ? NULL : */&smcp);
+ SmileyPackType* SmileyPack = GetSmileyPack(smrec.Protocolname, smrec.hContact,
+ (smrec.flags & (SAFLRE_OUTGOING | SAFLRE_NOCUSTOM)) ? NULL : &smcp);
ReplaceSmileys(smre->hwndRichEditControl, SmileyPack, smcp, *smrec.rangeToReplace,
smrec.hContact == NULL, false, false, (smre->flags & SAFLRE_FIREVIEW)?true:false);
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp
index 4ff94a1bde..85a9f3c17a 100644
--- a/protocols/FacebookRM/src/messages.cpp
+++ b/protocols/FacebookRM/src/messages.cpp
@@ -54,7 +54,7 @@ void FacebookProto::SendMsgWorker(void *p)
}
else if ( !DBGetContactSettingString(data->hContact,m_szModuleName,FACEBOOK_KEY_ID,&dbv))
{
- parseSmileys(data->msg, data->hContact);
+ //parseSmileys(data->msg, data->hContact);
int retries = 5;
std::string error_text = "";