From 861e1cbffcfb513084fc3f0a0e27bc6508b375d9 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Tue, 12 Feb 2008 00:26:14 +0000 Subject: fix for view avatar via avs git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@395 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MySpace/proto.cpp') diff --git a/MySpace/proto.cpp b/MySpace/proto.cpp index e505d9e..3fd3287 100644 --- a/MySpace/proto.cpp +++ b/MySpace/proto.cpp @@ -399,7 +399,7 @@ int GetAvatarInfo(WPARAM wParam,LPARAM lParam) { int GetMyAvatar(WPARAM wParam,LPARAM lParam) { char *buff = (char *)wParam; DBVARIANT dbv; - if(!DBGetContactSettingString(0, MODULE, "ImageURL", &dbv)) { + if(!DBGetContactSettingString(0, MODULE, "AvatarFilename", &dbv)) { mir_snprintf(buff, (int)lParam, "%s", dbv.pszVal); DBFreeVariant(&dbv); return 0; @@ -418,7 +418,7 @@ int GetAvatarCaps(WPARAM wParam,LPARAM lParam) { case AF_PROPORTION: return PIP_NONE; case AF_FORMATSUPPORTED: - return 1; + return 0; case AF_ENABLED: return 1; case AF_DONTNEEDDELAYS: -- cgit v1.2.3