ui_message_receipt takes ProfChatWin

This commit is contained in:
James Booth
2015-10-26 22:54:06 +00:00
parent 8f45f332ad
commit 2efaa464bf
4 changed files with 10 additions and 9 deletions

View File

@@ -47,13 +47,10 @@
static void _win_show_history(ProfChatWin *chatwin, const char *const contact);
void
ui_message_receipt(const char *const barejid, const char *const id)
ui_message_receipt(ProfChatWin *chatwin, const char *const id)
{
ProfChatWin *chatwin = wins_get_chat(barejid);
if (chatwin) {
ProfWin *win = (ProfWin*) chatwin;
win_mark_received(win, id);
}
ProfWin *win = (ProfWin*) chatwin;
win_mark_received(win, id);
}
void