- Timestamp:
- 2010-08-22T13:31:53Z (14 years ago)
- Branches:
- master
- Children:
- 1aa74f55
- Parents:
- 1bb1e01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r1bb1e01 r241f9f6 2169 2169 yd->buddies = y_list_append(yd->buddies, bud); 2170 2170 2171 #if 0 2172 /* BitlBee: This seems to be wrong in my experience. I think: 2173 status = 0: Success 2174 status = 2: Already on list 2175 status = 3: Doesn't exist 2176 status = 42: Invalid handle (possibly banned/reserved, I get it for 2177 handles like joe or jjjjjj) 2178 Haven't seen others yet. But whenever the add is successful, there 2179 will be a separate "went online" packet when the auth. request is 2180 accepted. Couldn't find any test account that doesn't require auth. 2181 unfortunately (if there is even such a thing?) */ 2182 2171 2183 /* A non-zero status (i've seen 2) seems to mean the buddy is already 2172 2184 * added and is online */ … … 2176 2188 YAHOO_CALLBACK(ext_yahoo_status_changed) (yd->client_id, who, 2177 2189 YAHOO_STATUS_AVAILABLE, NULL, 0, 0, 0); 2190 } 2191 #endif 2192 /* BitlBee: Need ACK of added buddy, if it was successful. */ 2193 if (status == 0) { 2194 YList *tmp = y_list_append(NULL, bud); 2195 YAHOO_CALLBACK(ext_yahoo_got_buddies) (yd->client_id, tmp); 2196 y_list_free(tmp); 2178 2197 } 2179 2198 }
Note: See TracChangeset
for help on using the changeset viewer.