comparison mcabber/mcabber/screen.c @ 2036:f8958ab545ac

Make message delivery receipts more backward-compatible
author Mikael Berthe <mikael@lilotux.net>
date Mon, 15 Oct 2012 19:53:02 +0200
parents f740c4128f76
children 7f06eb956734
comparison
equal deleted inserted replaced
2035:dac609275117 2036:f8958ab545ac
2248 } 2248 }
2249 2249
2250 void scr_remove_receipt_flag(const char *bjid, gconstpointer xep184) 2250 void scr_remove_receipt_flag(const char *bjid, gconstpointer xep184)
2251 { 2251 {
2252 winbuf *win_entry = scr_search_window(bjid, FALSE); 2252 winbuf *win_entry = scr_search_window(bjid, FALSE);
2253 if (win_entry) { 2253 if (win_entry && xep184) {
2254 hbuf_remove_receipt(win_entry->bd->hbuf, xep184); 2254 hbuf_remove_receipt(win_entry->bd->hbuf, xep184);
2255 if (chatmode && (buddy_search_jid(bjid) == current_buddy)) 2255 if (chatmode && (buddy_search_jid(bjid) == current_buddy))
2256 scr_update_buddy_window(); 2256 scr_update_buddy_window();
2257 } 2257 }
2258 } 2258 }