Mercurial > pidgin
comparison src/protocols/oscar/msgcookie.c @ 8092:697221d5d0ff
[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.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 13 Jan 2004 05:44:37 +0000 |
parents | 714fc8f45cf2 |
children | c2dff943e240 |
comparison
equal
deleted
inserted
replaced
8091:56b74730715f | 8092:697221d5d0ff |
---|---|
181 faim_internal int aim_msgcookie_gettype(int reqclass) | 181 faim_internal int aim_msgcookie_gettype(int reqclass) |
182 { | 182 { |
183 /* XXX: hokey-assed. needs fixed. */ | 183 /* XXX: hokey-assed. needs fixed. */ |
184 switch(reqclass) { | 184 switch(reqclass) { |
185 case AIM_CAPS_BUDDYICON: return AIM_COOKIETYPE_OFTICON; | 185 case AIM_CAPS_BUDDYICON: return AIM_COOKIETYPE_OFTICON; |
186 case AIM_CAPS_VOICE: return AIM_COOKIETYPE_OFTVOICE; | 186 case AIM_CAPS_TALK: return AIM_COOKIETYPE_OFTVOICE; |
187 case AIM_CAPS_DIRECTIM: return AIM_COOKIETYPE_OFTIMAGE; | 187 case AIM_CAPS_DIRECTIM: return AIM_COOKIETYPE_OFTIMAGE; |
188 case AIM_CAPS_CHAT: return AIM_COOKIETYPE_CHAT; | 188 case AIM_CAPS_CHAT: return AIM_COOKIETYPE_CHAT; |
189 case AIM_CAPS_GETFILE: return AIM_COOKIETYPE_OFTGET; | 189 case AIM_CAPS_GETFILE: return AIM_COOKIETYPE_OFTGET; |
190 case AIM_CAPS_SENDFILE: return AIM_COOKIETYPE_OFTSEND; | 190 case AIM_CAPS_SENDFILE: return AIM_COOKIETYPE_OFTSEND; |
191 default: return AIM_COOKIETYPE_UNKNOWN; | 191 default: return AIM_COOKIETYPE_UNKNOWN; |