Mercurial > pidgin
changeset 10527:507c680b573e
[gaim-migrate @ 11846]
Yes, it's a sha1 checksum.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 18 Jan 2005 20:23:25 +0000 |
parents | 55e7d72fc09a |
children | c3a964f4fc61 |
files | src/protocols/msn/slp.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/slp.c Tue Jan 18 18:31:32 2005 +0000 +++ b/src/protocols/msn/slp.c Tue Jan 18 20:23:25 2005 +0000 @@ -767,7 +767,7 @@ MsnObject *obj; char **tokens; char *smile; - const char *who; + const char *who, *sha1c; GaimConversation *conversation; GaimConnection *gc; @@ -780,6 +780,7 @@ obj = msn_object_new_from_string(gaim_url_decode(tokens[1])); who = msn_object_get_creator(obj); + sha1c = msn_object_get_sha1c(obj); slplink = msn_session_get_slplink(session, who); @@ -787,7 +788,7 @@ conversation = gaim_find_conversation_with_account(GAIM_CONV_ANY, who, gc->account); - if (gaim_conv_custom_smiley_add(conversation, smile, "sha1" /* i think it's a sha1 checksum? */, "base64 encoded checksum here, shx should fix this!")) { + if (gaim_conv_custom_smiley_add(conversation, smile, "sha1", sha1c)) { msn_slplink_request_object(slplink, smile, got_emoticon, NULL, obj); }