Mercurial > pidgin
view src/protocols/zephyr/zephyr_err.h @ 11261:b53606580f68
[gaim-migrate @ 13439]
Patch #1226486 from Levi Bard
Fixes bug #1224178
If you change the topic in a chat room and that topic change is rejected, the
topic field is wrong -- it shows the new topic even thought it didn't get set.
This patch resets the GUI's topic immediately when you hit enter. Then, if the
topic change is successful, the server will echo the topic change back to us
and we'll update the GUI to the new topic.
The only question is, does the server always echo the topic back to us? From the
core's point of view, I'm ready to assume yes. It's the case for both IRC and
Jabber*. If someone could test changing a topic in SILC or Zephyr, that'd be
great. If servers using those protocols do not echo the topic back, the prpl
will have to fake it as appropriate.
* I didn't actually test on Jabber, but Nathan said the server will echo the
topic change back. If it's broken, let me know.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 14 Aug 2005 06:55:57 +0000 |
parents | 424a40f12a6c |
children | fc464a0abccc |
line wrap: on
line source
/* * zephyr_err.h: * This file is automatically generated; please do not edit it. */ #define ZERR_PKTLEN (-772103680L) #define ZERR_HEADERLEN (-772103679L) #define ZERR_ILLVAL (-772103678L) #define ZERR_HMPORT (-772103677L) #define ZERR_PORTINUSE (-772103676L) #define ZERR_BADPKT (-772103675L) #define ZERR_VERS (-772103674L) #define ZERR_NOPORT (-772103673L) #define ZERR_NONOTICE (-772103672L) #define ZERR_QLEN (-772103671L) #define ZERR_HMDEAD (-772103670L) #define ZERR_INTERNAL (-772103669L) #define ZERR_NOLOCATIONS (-772103668L) #define ZERR_NOMORELOCS (-772103667L) #define ZERR_FIELDLEN (-772103666L) #define ZERR_BADFIELD (-772103665L) #define ZERR_SERVNAK (-772103664L) #define ZERR_AUTHFAIL (-772103663L) #define ZERR_LOGINFAIL (-772103662L) #define ZERR_NOSUBSCRIPTIONS (-772103661L) #define ZERR_NOMORESUBSCRIPTIONS (-772103660L) #define ZERR_TOOMANYSUBS (-772103659L) #define ZERR_EOF (-772103658L) extern void initialize_zeph_error_table (); #define ERROR_TABLE_BASE_zeph (-772103680L) /* for compatibility with older versions... */ #define init_zeph_err_tbl initialize_zeph_error_table #define zeph_err_base ERROR_TABLE_BASE_zeph