comparison libpurple/protocols/oscar/oscar.h @ 25047:0f2503390a6b

Change our ICQ client ID such that we identify ourselves to the ICQ servers as ICQ Basic 14.34.3096. This is the same client ID a number of other third-party clients are using with no issues. I have also added a new definition for this ICQ Basic version and changed the CLIENTINFO_ICQ_KNOWNGOOD defiinition to reflect this. Effects of this change are that available messages and buddy icons are now published correctly and visible to other clients. Fixes #6235. Thanks to Dimmuxx and h3llfire for pointing this out.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 02 Feb 2009 22:20:04 +0000
parents 986edbefc516
children 4b8c4870b13a 03279387cbe2
comparison
equal deleted inserted replaced
25045:651cdeab9b99 25047:0f2503390a6b
284 0x0000, 0x0bb8, \ 284 0x0000, 0x0bb8, \
285 0x0000043d, \ 285 0x0000043d, \
286 "us", "en", \ 286 "us", "en", \
287 } 287 }
288 288
289 #define CLIENTINFO_ICQBASIC_14_34_3096 { \
290 "ICQBasic", \
291 0x010a, \
292 0x0014, 0x0034, \
293 0x0000, 0x0c18, \
294 0x0000043d, \
295 "us", "en", \
296 }
297
289 #define CLIENTINFO_NETSCAPE_7_0_1 { \ 298 #define CLIENTINFO_NETSCAPE_7_0_1 { \
290 "Netscape 2000 an approved user of AOL Instant Messenger (SM)", \ 299 "Netscape 2000 an approved user of AOL Instant Messenger (SM)", \
291 0x1d0d, \ 300 0x1d0d, \
292 0x0007, 0x0000, \ 301 0x0007, 0x0000, \
293 0x0001, 0x0000, \ 302 0x0001, 0x0000, \
310 } 319 }
311 320
312 #define CLIENTINFO_PURPLE_ICQ { \ 321 #define CLIENTINFO_PURPLE_ICQ { \
313 "Purple/" VERSION, \ 322 "Purple/" VERSION, \
314 0x010a, \ 323 0x010a, \
315 0x0006, 0x0000, \ 324 0x0014, 0x0034, \
316 0x0000, 0x17ab, \ 325 0x0000, 0x0c18, \
317 0x00007535, \ 326 0x0000043d, \
318 "us", "en", \ 327 "us", "en", \
319 } 328 }
320 329
321 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_5_1_3036 330 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_5_1_3036
322 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQBASIC_14_34_3000 331 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQBASIC_14_34_3096
323 332
324 typedef enum 333 typedef enum
325 { 334 {
326 OSCAR_DISCONNECT_DONE, /* not considered an error */ 335 OSCAR_DISCONNECT_DONE, /* not considered an error */
327 OSCAR_DISCONNECT_LOCAL_CLOSED, /* peer connections only, not considered an error */ 336 OSCAR_DISCONNECT_LOCAL_CLOSED, /* peer connections only, not considered an error */