diff src/protocols/msn/session.h @ 10621:fe919915fceb

[gaim-migrate @ 12090] This should fix the MSN problems with having multiple switchboards associated with the same conversation / buddy. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 22 Feb 2005 15:16:38 +0000
parents f52ab405f1ab
children 888d4c328be5
line wrap: on
line diff
--- a/src/protocols/msn/session.h	Tue Feb 22 15:10:16 2005 +0000
+++ b/src/protocols/msn/session.h	Tue Feb 22 15:16:38 2005 +0000
@@ -160,36 +160,43 @@
  *
  * @param session The MSN session.
  * @param username The username to search for.
- * @param flag The flag of the switchboard.
  *
  * @return The switchboard, if found.
  */
 MsnSwitchBoard *msn_session_find_swboard(MsnSession *session,
-										 const char *username, MsnSBFlag flag);
+										 const char *username);
 
+ /**
+ * Finds a switchboard with the given conversation.
+ *
+ * @param session The MSN session.
+ * @param conv    The conversation to search for.
+ *
+ * @return The switchboard, if found.
+ */
+MsnSwitchBoard *msn_session_find_swboard_with_conv(MsnSession *session,
+												   GaimConversation *conv);
 /**
  * Finds a switchboard with the given chat ID.
  *
  * @param session The MSN session.
  * @param chat_id The chat ID to search for.
- * @param flag The flag of the switchboard.
  *
  * @return The switchboard, if found.
  */
 MsnSwitchBoard *msn_session_find_swboard_with_id(const MsnSession *session,
-												 int chat_id, MsnSBFlag flag);
+												 int chat_id);
 
 /**
  * Returns a switchboard to communicate with certain username.
  *
  * @param session The MSN session.
  * @param username The username to search for.
- * @param flag The flag of the switchboard.
  *
  * @return The switchboard.
  */
 MsnSwitchBoard *msn_session_get_swboard(MsnSession *session,
-										const char *username, MsnSBFlag flag);
+										const char *username);
 
 /**
  * Sets an error for the MSN session.