Index: src/console.cpp
===================================================================
RCS file: /cvsroot/licq/console/src/console.cpp,v
retrieving revision 1.95
diff -r1.95 console.cpp
1598,1599c1598
<       //FIXME
<       //FileChatOffer(e->Sequence(), u->Uin());
---
>       FileChatOffer(e, szId, nPPID);
3042c3041
< void CLicqConsole::FileChatOffer(unsigned long _nSequence, const char *_szId, unsigned long _nPPID)
---
> void CLicqConsole::FileChatOffer(CUserEvent *e, const char *_szId, unsigned long _nPPID)
3043a3043
>   CEventFile *f = (CEventFile *)e;
3047c3047
<   winMain->data = new DataFileChatOffer(_nSequence, _szId, _nPPID);
---
>   winMain->data = new DataFileChatOffer(f, _szId, _nPPID);
3061a3062
>   CEventFile *f = data->f;
3082,3083d3082
<           // XXX hack
<           unsigned long dummy[2] = { 0, 0};
3085c3084,3085
<                                             data->nSequence, dummy, true);
---
>                                             f->Sequence(), f->MessageID(), f->IsDirect(),
>                                             f->FileDescription(), f->Filename(), f->FileSize());
3117c3117
<                                         data->nSequence, dummy, true);
---
>                                         f->Sequence(), dummy, true);
Index: src/console.h
===================================================================
RCS file: /cvsroot/licq/console/src/console.h,v
retrieving revision 1.42
diff -r1.42 console.h
204c204
<   void FileChatOffer(unsigned long, const char *, unsigned long);
---
>   void FileChatOffer(CUserEvent *, const char *, unsigned long);
Index: src/event_data.h
===================================================================
RCS file: /cvsroot/licq/console/src/event_data.h,v
retrieving revision 1.12
diff -r1.12 event_data.h
117,118c117,119
<   DataFileChatOffer(unsigned long _nSeq, const char *i, unsigned long n) : CData(i, n)
<     { szReason[0] = '\0'; nSequence = _nSeq; }
---
>   DataFileChatOffer(CEventFile *_f, const char *i, unsigned long n) : CData(i, n)
>     { szReason[0] = '\0'; f = _f; }
>   CEventFile *f;
120d120
<   unsigned long nSequence;
