Changeset 3012 for trunk/jons-gtk-gui

Show
Ignore:
Timestamp:
09/10/02 07:46:33 (6 years ago)
Author:
emostar
Message:

Patch by "Juan F. Codagnone" <juam AT users.sourceforge.net>

Location:
trunk/jons-gtk-gui/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/jons-gtk-gui/src/chat_window.cpp

    r2960 r3012  
    388388    /* Refuse the chat */ 
    389389    icq_daemon->icqChatRequestRefuse(r_cr->uin, "", 
    390                      r_cr->c_event->Sequence()); 
     390                     r_cr->c_event->Sequence(), 
     391                     r_cr->c_event->MessageID(), 
     392                     r_cr->c_event->IsDirect()); 
    391393 
    392394    /* Close the request window */ 
     
    403405 
    404406    icq_daemon->icqChatRequestAccept(r_cr->uin, cw->chatman->LocalPort(), 
    405                      r_cr->c_event->Sequence()); 
     407                     r_cr->c_event->Sequence(), 
     408                     r_cr->c_event->MessageID(), 
     409                     r_cr->c_event->IsDirect()); 
    406410} 
    407411 
     
    415419 
    416420    icq_daemon->icqChatRequestAccept(uin, cw->chatman->LocalPort(), 
    417                      c->Sequence()); 
     421                     c->Sequence(), 
     422                     c->MessageID(), c->IsDirect()); 
    418423} 
    419424 
  • trunk/jons-gtk-gui/src/file_window.cpp

    r2960 r3012  
    128128    const char *reason = gtk_editable_get_chars(GTK_EDITABLE(fa->text), 
    129129                0, -1); 
     130    CEventFile *f = (CEventFile *)fa->e; 
     131     
    130132 
    131133    // The user gave a reason 
     
    133135    { 
    134136        icq_daemon->icqFileTransferRefuse(fa->user->Uin(), 
    135             reason, fa->e->Sequence()); 
     137            reason, fa->e->Sequence(),  
     138            f->MessageID(), 
     139            f->IsDirect()); 
    136140    } 
    137141     
     
    140144    { 
    141145        icq_daemon->icqFileTransferRefuse(fa->user->Uin(), 
    142             "No reason given.", fa->e->Sequence()); 
     146            "No reason given.", fa->e->Sequence(), 
     147            f->MessageID(), 
     148            f->IsDirect() 
     149            ); 
    143150    } 
    144151 
     
    160167{ 
    161168    struct file_window *fw; 
     169    CEventFile *f = (CEventFile *)fa->e; 
    162170     
    163171    fw = g_new0(struct file_window, 1); 
     
    181189    // Actually accept the file 
    182190    icq_daemon->icqFileTransferAccept(fw->uin, 
    183                       fw->ftman->LocalPort(), fw->sequence, 
    184                       false); 
     191                      fw->ftman->LocalPort(), 
     192                      fw->sequence, 
     193                      f->MessageID(), 
     194                      f->IsDirect()); 
    185195} 
    186196