[gaim-migrate @ 11846]

Tue, 18 Jan 2005 20:23:25 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Tue, 18 Jan 2005 20:23:25 +0000
changeset 10527
f0e6cfd71f23
parent 10526
05b5c6d4090d
child 10528
4de536b2b60c

[gaim-migrate @ 11846]
Yes, it's a sha1 checksum.

src/protocols/msn/slp.c file | annotate | diff | comparison | revisions
--- 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);
 	}
 

mercurial