Mercurial > pidgin.yaz
view libpurple/protocols/gg/lib/encoding.h @ 31862:fa728fd38c00
When somebody sends me an image, I get some (depends on image size) empty
messages. It's about one empty message for every 2kB of image.
Steps to reproduce:
1. install and run AQQ on Windows (or any other gadu-gadu client with image
sending support), login with one gg account
2. run Pidgin 2.7.11 under linux (maybe on Windows too), login with another gg
account
3. send ~50kB image from AQQ to Pidgin
4. you should get 20-30 received empty messages in Pidgin and one with image
after it
I fixed it by checking if gg message is empty and - if true - drops the message
and print warning in debug window.
Fixes #13554.
committer: John Bailey <rekkanoryo@rekkanoryo.org>
author | tomkiewicz@o2.pl |
---|---|
date | Thu, 24 Mar 2011 21:04:23 +0000 |
parents | 93b08d43f684 |
children |
line wrap: on
line source
/* * (C) Copyright 2008-2009 Jakub Zawadzki <darkjames@darkjames.ath.cx> * Wojtek Kaniewski <wojtekka@irc.pl> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License Version * 2.1 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, * USA. */ #ifndef LIBGADU_ENCODING_H #define LIBGADU_ENCODING_H #include "libgadu.h" char *gg_encoding_convert(const char *src, gg_encoding_t src_encoding, gg_encoding_t dst_encoding, int src_length, int dst_length); #endif /* LIBGADU_SESSION_H */