Tue, 13 Jan 2004 05:44:37 +0000
[gaim-migrate @ 8791]
Give a nice little warning if you add an AIM or ICQ buddy with an invalid
name. I'm thinking some of those bug reports on SF about "Could not add
buddy with no name" are caused by this. Hopefully. Sometime before the
next release I'll probably actually remove invalid people from the local
list.
Also recognize the WinAIM Video and Camera caps.
| 2672 | 1 | /* |
|
3952
d13e1fde68d8
[gaim-migrate @ 4133]
Mark Doliner <markdoliner@pidgin.im>
parents:
2672
diff
changeset
|
2 | * Family 0x0006 - This isn't really ever used by anyone anymore. |
| 2672 | 3 | * |
| 4 | * Once upon a time, there used to be a menu item in AIM clients that | |
| 5 | * said something like "Invite a friend to use AIM..." and then it would | |
| 6 | * ask for an email address and it would sent a mail to them saying | |
| 7 | * how perfectly wonderful the AIM service is and why you should use it | |
| 8 | * and click here if you hate the person who sent this to you and want to | |
| 9 | * complain and yell at them in a small box with pretty fonts. | |
| 10 | * | |
| 11 | * I could've sworn libfaim had this implemented once, a long long time ago, | |
| 12 | * but I can't find it. | |
| 13 | * | |
| 14 | * I'm mainly adding this so that I can keep advertising that we support | |
| 15 | * group 6, even though we don't. | |
| 16 | * | |
| 17 | */ | |
| 18 | ||
| 19 | #define FAIM_INTERNAL | |
| 20 | #include <aim.h> | |
| 21 | ||
| 22 | faim_internal int invite_modfirst(aim_session_t *sess, aim_module_t *mod) | |
| 23 | { | |
| 24 | ||
| 25 | mod->family = 0x0006; | |
| 26 | mod->version = 0x0001; | |
| 27 | mod->toolid = 0x0110; | |
|
4071
f0c425b22b92
[gaim-migrate @ 4283]
Mark Doliner <markdoliner@pidgin.im>
parents:
3952
diff
changeset
|
28 | mod->toolversion = 0x0629; |
| 2672 | 29 | mod->flags = 0; |
| 30 | strncpy(mod->name, "invite", sizeof(mod->name)); | |
| 31 | mod->snachandler = NULL; | |
| 32 | ||
| 33 | return 0; | |
| 34 | } |