From 748275ca00c995f98a454fad533ed7673d578765 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 28 Feb 2007 11:47:19 -0500 Subject: [PATCH] Add fixme for avatar optimization --- services/presence2/server_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/presence2/server_plugin.py b/services/presence2/server_plugin.py index 02623a68..bf493e49 100644 --- a/services/presence2/server_plugin.py +++ b/services/presence2/server_plugin.py @@ -237,6 +237,8 @@ class ServerPlugin(gobject.GObject): print "server does not accept JPEG format avatars." return + # FIXME: check server avatar token and only upload if we know our + # buddy icon has changed try: img_data = _get_buddy_icon_at_size(min(maxw, 96), min(maxh, 96), maxsize) self._conn[CONN_INTERFACE_AVATARS].SetAvatar(img_data, "image/jpeg")