Mercurial > pidgin
diff src/protocols/msn/switchboard.c @ 5506:4f72b611f0ee
[gaim-migrate @ 5905]
A few changes here.
- Messages now have reference counting.
- There's a message queue API in servconn. This was needed for times when
we have a message but need further information from a command before
processing it, like initial e-mail notifications.
- As a result of the two above, we now have initial e-mail notifications
again!
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sun, 25 May 2003 09:04:32 +0000 |
| parents | ad9887c91a59 |
| children | 187c740f2a4e |
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c Sat May 24 19:15:58 2003 +0000 +++ b/src/protocols/msn/switchboard.c Sun May 25 09:04:32 2003 +0000 @@ -262,7 +262,7 @@ * Message Types **************************************************************************/ static gboolean -__plain_msg(MsnServConn *servconn, const MsnMessage *msg) +__plain_msg(MsnServConn *servconn, MsnMessage *msg) { struct gaim_connection *gc = servconn->session->account->gc; MsnSwitchBoard *swboard = servconn->data; @@ -301,7 +301,7 @@ } static gboolean -__control_msg(MsnServConn *servconn, const MsnMessage *msg) +__control_msg(MsnServConn *servconn, MsnMessage *msg) { struct gaim_connection *gc = servconn->session->account->gc; MsnSwitchBoard *swboard = servconn->data; @@ -318,7 +318,7 @@ } static gboolean -__clientcaps_msg(MsnServConn *servconn, const MsnMessage *msg) +__clientcaps_msg(MsnServConn *servconn, MsnMessage *msg) { MsnSession *session = servconn->session; MsnSwitchBoard *swboard = servconn->data;
