Mercurial > pidgin
comparison libpurple/conversation.h @ 15946:e058328dc954
Patch from Zac West which (1) adds a message flag, PURPLE_MESSAGE_NOTIFY, used to indicate that a message is a protocol-level notification from a user ('buzz' in yahoo, 'nudge' in msn, for example) and (2) uses it along with improving the text displayed when sending/receiving buzzes and nudges. The addition of this flag means that a plugin could implement custom behavior, such as playing a sound or triggerring some other event, reliably and easily.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 27 Mar 2007 03:06:35 +0000 |
parents | 32c366eeeb99 |
children | 516f14bef90e |
comparison
equal
deleted
inserted
replaced
15921:8bea220c0997 | 15946:e058328dc954 |
---|---|
113 PURPLE_MESSAGE_WHISPER = 0x0080, /**< Whispered message. */ | 113 PURPLE_MESSAGE_WHISPER = 0x0080, /**< Whispered message. */ |
114 PURPLE_MESSAGE_ERROR = 0x0200, /**< Error message. */ | 114 PURPLE_MESSAGE_ERROR = 0x0200, /**< Error message. */ |
115 PURPLE_MESSAGE_DELAYED = 0x0400, /**< Delayed message. */ | 115 PURPLE_MESSAGE_DELAYED = 0x0400, /**< Delayed message. */ |
116 PURPLE_MESSAGE_RAW = 0x0800, /**< "Raw" message - don't | 116 PURPLE_MESSAGE_RAW = 0x0800, /**< "Raw" message - don't |
117 apply formatting */ | 117 apply formatting */ |
118 PURPLE_MESSAGE_IMAGES = 0x1000 /**< Message contains images */ | 118 PURPLE_MESSAGE_IMAGES = 0x1000, /**< Message contains images */ |
119 PURPLE_MESSAGE_NOTIFY = 0x2000 /**< Message is a notification */ | |
119 | 120 |
120 } PurpleMessageFlags; | 121 } PurpleMessageFlags; |
121 | 122 |
122 /** | 123 /** |
123 * Flags applicable to users in Chats. | 124 * Flags applicable to users in Chats. |