comparison mcabber/src/screen.c @ 987:f47e312560af

Improve JEP22 + JEP85 support
author Mikael Berthe <mikael@lilotux.net>
date Mon, 30 Oct 2006 20:18:00 +0100
parents ed697234bd39
children 35e7913affb7
comparison
equal deleted inserted replaced
986:ed697234bd39 987:f47e312560af
1189 1189
1190 resources = buddy_getresources(BUDDATA(buddy)); 1190 resources = buddy_getresources(BUDDATA(buddy));
1191 for ( ; resources ; resources = g_slist_next(resources) ) { 1191 for ( ; resources ; resources = g_slist_next(resources) ) {
1192 guint events = buddy_resource_getevents(BUDDATA(buddy), 1192 guint events = buddy_resource_getevents(BUDDATA(buddy),
1193 resources ? resources->data : ""); 1193 resources ? resources->data : "");
1194 if (events) { 1194 if (events & ROSTER_EVENT_COMPOSING) {
1195 if (events & ROSTER_EVENT_MSG && false) { // FIXME: not yet. 1195 pending = '+';
1196 pending = '#'; 1196 break;
1197 break;
1198 } else if (events & ROSTER_EVENT_COMPOSING) {
1199 pending = '+';
1200 break;
1201 }
1202 } 1197 }
1203 } 1198 }
1204 1199
1205 // Display message notice if there is a message flag, but not 1200 // Display message notice if there is a message flag, but not
1206 // for unfolded groups. 1201 // for unfolded groups.