annotate src/protocols/jabber/.todo @ 9584:fe35f55ee984

[gaim-migrate @ 10427] " When joining a jabber conference many jabber servers send a recap of the last 20 or so messages. If you have sounds enabled, this will result in either 20 sounds in row, or worse if mixing is available, a horrible mix of 20 overlapping sounds. These recap messages can be identifed be the presence of the "jabber:x:delay". This patch identifies delayed messages, passes that information through flags from the prpl to the core, and then on to the gui. Detailed changes: Add GAIM_MESSAGE_DELAYED to GaimMessageFlags to indicate a delayed message. Change gtkconv.c to not play sounds when either GAIM_MESSAGE_DELAYED or GAIM_MESSAGE_SYSTEM are set. Add GaimConvChatFlags, parallel to GaimConvImFlags, to pass flags from protocols to core. Currently contains two flags: GAIM_CONV_CHAT_WHISPER GAIM_CONV_CHAT_DELAYED Change fourth arg of serv_got_chat_in() from "int whisper" to "GaimConvChatFlags chatflags". Change jabber prpl to set delayed flag when the "jabber:x:delay" element is present. Change toc protocol since it uses the whisper flag." --Nathan Fredrickson Date: 2004-07-24 00:49 Sender: marv_sfAccepting Donations Logged In: YES user_id=790708 I'm not sure I like naming the flags "DELAYED". I mean that's okay inside jabber since that's what the jabber protocol refers to it as, but for the the GAIM_*_DELAYED flags, I think they should be named something else. I thought about NOSOUND, but I decided that was wrong, because the flag should say what kind of message it is, not what to do with it, that's up to the UI to decide. What's up with not playing sounds on GAIM_MESSAGE_SYSTEM? This sounds unrelated to this. Are there times when we want to play sounds on system messages? Date: 2004-07-24 09:13 Sender: noif Logged In: YES user_id=365548 I purposely did not use a name that implied what the UI should do with the flag. The only characteristic that makes these messages unique is that they've been stored in the server for some period of time and are not current. I'm open to a better flag name than "DELAYED"... I thought about "RECAP", but that seemed less generalized than "DELAYED". As for not playing sounds on GAIM_MESSAGE_SYSTEM, that can be removed if it's controversial. I think I slipped that in since the setting of the topic was still playing a sound every time you joined a jabber conference. I think we can change the flag name ourselves if something else is better. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 24 Jul 2004 15:18:32 +0000
parents fababc25f270
children d7cc09a9da4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9479
fababc25f270 [gaim-migrate @ 10304]
Luke Schierer <lschiere@pidgin.im>
parents: 7630
diff changeset
1 <!-- Automagically generated by the ToDo program on Wed Jul 7 18:04:02 2004 -->
5123
309a3c5c8e77 [gaim-migrate @ 5486]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
2 <todo version="0.1.17">
5130
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
3 <note priority="high" time="1036043427">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
4 problem seeing buddies with long blist?
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
5 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
6 <note priority="medium" time="1036044198">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
7 Browsing
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
8 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
9 <note priority="medium" time="1036044416">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
10 Server Admin operations (messages, etc.)
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
11 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
12 <note priority="medium" time="1036044448">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
13 Add option for user info to be published or not in JUD.
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
14 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
15 <note priority="medium" time="1036044571">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
16 Show self on buddylist
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
17 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
18 <note priority="medium" time="1036044583">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
19 Delete server account.
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
20 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
21 <note priority="medium" time="1036045649">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
22 Permit/Deny buddy support.
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
23 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
24 <note priority="medium" time="1036046080">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
25 List of users on Jabber server?
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
26 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
27 <note priority="medium" time="1036046413">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
28 a populate roster from local blist. most useful if you want to migrate a blist from one account to another, also useful if something freaky happens and the server blist is lost.
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
29 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
30 <note priority="medium" time="1037892911">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
31 info
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
32 <note priority="medium" time="1037893000">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
33 formatted. enhancement-request so that the birthday field in the setinfo form would split up into relevant fields allowing for a strict syntax (like year--month--day or so, perhaps even dropdown menus)
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
34 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
35 <note priority="low" time="1037890968">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
36 have set info pre-fill values from the server when no local vcard exists. this will help people migrating to gaim
5123
309a3c5c8e77 [gaim-migrate @ 5486]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
37 </note>
5130
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
38 </note>
9479
fababc25f270 [gaim-migrate @ 10304]
Luke Schierer <lschiere@pidgin.im>
parents: 7630
diff changeset
39 <note priority="verylow" time="1036043981" done="1089237837">
5130
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
40 *sigh* file transfer (do we really need/want this?)
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
41 <comment>
9479
fababc25f270 [gaim-migrate @ 10304]
Luke Schierer <lschiere@pidgin.im>
parents: 7630
diff changeset
42 faceprint did this
5130
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
43 </comment>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
44 </note>
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
45 <note priority="verylow" time="1036044192">
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
46 Jabber Transports (having them show up on the buddy list should be fairly easy; having an appropriate right-click menu for them should also be somewhat easy. Providing a UI for adding transports should be rather difficult.)
b9822577ce00 [gaim-migrate @ 5493]
Nathan Walp <nwalp@pidgin.im>
parents: 5127
diff changeset
47 </note>
5123
309a3c5c8e77 [gaim-migrate @ 5486]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
48 </todo>