Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/family_icbm.c @ 27608:074e67a105be
Set the "we support SMS!" ICBM flag. This causes buddies with mobile
forwarding to show up online and allows us to IM them. It's a bit
weird that an ICBM flag affects the presence that gets sent to us.
I also cleaned up these flags a little and added a #define for each
value.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 14 Jul 2009 07:06:22 +0000 |
parents | a2508ac2e536 |
children | e1cd44c7c7af 993483dda1b8 |
comparison
equal
deleted
inserted
replaced
27607:8138b07b6bc6 | 27608:074e67a105be |
---|---|
219 params.maxmsglen = byte_stream_get16(bs); | 219 params.maxmsglen = byte_stream_get16(bs); |
220 params.maxsenderwarn = byte_stream_get16(bs); | 220 params.maxsenderwarn = byte_stream_get16(bs); |
221 params.maxrecverwarn = byte_stream_get16(bs); | 221 params.maxrecverwarn = byte_stream_get16(bs); |
222 params.minmsginterval = byte_stream_get32(bs); | 222 params.minmsginterval = byte_stream_get32(bs); |
223 | 223 |
224 params.flags = 0x0000000b | AIM_IMPARAM_FLAG_SUPPORT_OFFLINEMSGS; | 224 params.flags = AIM_IMPARAM_FLAG_CHANNEL_MSGS_ALLOWED |
225 | AIM_IMPARAM_FLAG_MISSED_CALLS_ENABLED | |
226 | AIM_IMPARAM_FLAG_EVENTS_ALLOWED | |
227 | AIM_IMPARAM_FLAG_SMS_SUPPORTED | |
228 | AIM_IMPARAM_FLAG_OFFLINE_MSGS_ALLOWED; | |
225 params.maxmsglen = 8000; | 229 params.maxmsglen = 8000; |
226 params.minmsginterval = 0; | 230 params.minmsginterval = 0; |
227 | 231 |
228 aim_im_setparams(od, ¶ms); | 232 aim_im_setparams(od, ¶ms); |
229 | 233 |