pidgin/pidgin

c0d8d2d1497a
Add PURPLE_MESSAGE_REMOTE_SEND flag to PurpleMessageFlags

Specifies messages like _SEND that were sent from another location, and are
not echoes.

This allows the UI to distinguish them from groupchat outgoing messages, since
those always result in a serv_got_chat_in() call which writes to the
conversation with the PURPLE_MESSAGE_SEND flag, because that's needed to
display outgoing messages in UIs like pidgin, but some UIs behave differently.
/** @page sound-signals Sound Signals
@signals
@signal playing-sound-event
@endsignals
@see sound.h
<hr>
@signaldef playing-sound-event
@signalproto
gboolean (*playing_sound_event)(PurpleSoundEventID event, PurpleAccount *account);
@endsignalproto
@signaldesc
Emitted when libpurple is going to play a sound event. This can be used to cancel playing sound by returning TRUE.
@param event The event this sound represents.
@param account The account the sound is being played for.
@return @c TRUE if the sound should not be played, or @c FALSE otherwise.
@endsignaldef
*/
// vim: syntax=c.doxygen tw=75 et