Mercurial > pidgin.yaz
diff libpurple/protocols/msn/switchboard.h @ 22043:23fef20a0ef2
Use a unique chat id across all sessions for multi-user chats, probably
fixes the chat-reuse issues discussed on devel@pidgin.im. I might test this
some time.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 08 Jan 2008 03:46:41 +0000 |
parents | 44b4e8bd759b |
children | fb722b8b4c74 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.h Tue Jan 08 03:28:48 2008 +0000 +++ b/libpurple/protocols/msn/switchboard.h Tue Jan 08 03:46:41 2008 +0000 @@ -167,6 +167,13 @@ const char *msn_switchboard_get_session_id(MsnSwitchBoard *swboard); /** + * Returns the next chat ID for use by a switchboard. + * + * @return The chat ID. + */ +int msn_switchboard_get_chat_id(void); + +/** * Sets whether or not we were invited to this switchboard. * * @param swboard The switchboard.