comparison doc/conversation-signals.dox @ 12850:49b2347863b2

[gaim-migrate @ 15200] SF Patch #1403151 from charkins "This patch prevents two cases for "sonic avalanche" in the sound code. The first is to only play sounds in response to the chat-buddy-joined signal when the new_arrival flag is set." "The second case has to do with jabber pre-filling chat history when a chat is joined. The GAIM_MESSAGE_DELAYED flag is used on these messages, so sound are not played when this flag is set on received messages." "I also fixed sound_playing_event_cb() in signals-test.c which was assuming account!=NULL, which in turn was throwing an assertion error when gaim_account_get_username() was called." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 12 Jan 2006 06:59:39 +0000
parents 366326fa9cb4
children f09c6e8df82c
comparison
equal deleted inserted replaced
12849:c0fbdea8828b 12850:49b2347863b2
277 @endsignaldef 277 @endsignaldef
278 278
279 @signaldef chat-buddy-joined 279 @signaldef chat-buddy-joined
280 @signalproto 280 @signalproto
281 void (*chat_buddy_joined)(GaimConversation *conv, const char *name, 281 void (*chat_buddy_joined)(GaimConversation *conv, const char *name,
282 GaimConvChatBuddyFlags flags); 282 GaimConvChatBuddyFlags flags,
283 gboolean new_arrival);
283 @endsignalproto 284 @endsignalproto
284 @signaldesc 285 @signaldesc
285 Emitted when a buddy joined a chat, after the users list is updated. 286 Emitted when a buddy joined a chat, after the users list is updated.
286 @param conv The chat conversation. 287 @param conv The chat conversation.
287 @param name The name of the user that has joined the conversation. 288 @param name The name of the user that has joined the conversation.
288 @param flags The flags of the user that has joined the conversation. 289 @param flags The flags of the user that has joined the conversation.
290 @param new_arrival If the buddy is a new arrival.
289 @endsignaldef 291 @endsignaldef
290 292
291 @signaldef chat-buddy-flags 293 @signaldef chat-buddy-flags
292 @signalproto 294 @signalproto
293 void (*chat_buddy_flags)(GaimConversation *conv, const char *name, 295 void (*chat_buddy_flags)(GaimConversation *conv, const char *name,