diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2012-07-19 00:17:32 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2012-07-19 00:17:32 +0000 |
commit | e89fe281f2589d9bc562b8f59efba3680d497137 (patch) | |
tree | 2129283d730d508ef295d377b05321c0cc67b63f /metacontacts/meta_menu.c | |
parent | 9a04d5930c26ba291b4ceee5180ec599147cdb64 (diff) |
Updated for compatibility with Unicode avatars
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@602 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_menu.c')
-rw-r--r-- | metacontacts/meta_menu.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/metacontacts/meta_menu.c b/metacontacts/meta_menu.c index 36caabf..e83f87f 100644 --- a/metacontacts/meta_menu.c +++ b/metacontacts/meta_menu.c @@ -222,18 +222,7 @@ void Meta_RemoveContactNumber(HANDLE hMeta, int number) { Meta_FixStatus(hMeta);
// fix avatar
- hContact = Meta_GetMostOnlineSupporting(hMeta, PFLAGNUM_4, PF4_AVATARS);
- if(hContact) {
- PROTO_AVATAR_INFORMATION AI;
-
- AI.cbSize = sizeof(AI);
- AI.hContact = hMeta;
- AI.format = PA_FORMAT_UNKNOWN;
- strcpy(AI.filename, "X");
-
- if((int)CallProtoService(META_PROTO, PS_GETAVATARINFO, 0, (LPARAM)&AI) == GAIR_SUCCESS)
- DBWriteContactSettingString(hMeta, "ContactPhoto", "File",AI.filename);
- }
+ Meta_UpdateAvatar(hMeta);
}
}
|