- Timestamp:
- 2015-02-22T14:49:58Z (10 years ago)
- Branches:
- master
- Children:
- 90adf84
- Parents:
- 5ebff60
- Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r5ebff60 r3d45471 180 180 void (* set_away) (struct im_connection *, char *state, char *message); 181 181 /* Implementing this function is optional. */ 182 void (* get_away) (struct im_connection *, char *who);183 /* Implementing this function is optional. */184 182 int (* send_typing) (struct im_connection *, char *who, int flags); 185 183 … … 195 193 void (* rem_permit) (struct im_connection *, char *who); 196 194 void (* rem_deny) (struct im_connection *, char *who); 197 /* Doesn't actually have UI hooks. Not used at all, can be removed. */198 void (* set_permit_deny)(struct im_connection *);199 195 200 196 /* Request profile info. Free-formatted stuff, the IM module gives back 201 197 this info via imcb_log(). Implementing these are optional. */ 202 198 void (* get_info) (struct im_connection *, char *who); 203 /* set_my_name is *DEPRECATED*, not used by the UI anymore. Use the204 display_name setting instead. */205 void (* set_my_name) (struct im_connection *, char *name);206 void (* set_name) (struct im_connection *, char *who, char *name);207 199 208 200 /* Group chat stuff. */ -
protocols/oscar/oscar.c
r5ebff60 r3d45471 1914 1914 } 1915 1915 1916 static void oscar_get_away(struct im_connection *g, char *who)1917 {1918 struct oscar_data *odata = (struct oscar_data *) g->proto_data;1919 1920 if (odata->icq) {1921 /** FIXME(wilmer): Hmm, lost the ability to get away msgs here, do we care to get that back?1922 struct buddy *budlight = imcb_find_buddy(g, who);1923 if (budlight)1924 if ((budlight->uc & 0xff80) >> 7)1925 if (budlight->caps & AIM_CAPS_ICQSERVERRELAY)1926 aim_send_im_ch2_geticqmessage(odata->sess, who, (budlight->uc & 0xff80) >> 7);1927 */1928 } else {1929 aim_getinfo(odata->sess, odata->conn, who, AIM_GETINFO_AWAYMESSAGE);1930 }1931 }1932 1933 1916 static void oscar_set_away_aim(struct im_connection *ic, struct oscar_data *od, const char *state, const char *message) 1934 1917 { … … 2712 2695 ret->get_info = oscar_get_info; 2713 2696 ret->set_away = oscar_set_away; 2714 ret->get_away = oscar_get_away;2715 2697 ret->add_buddy = oscar_add_buddy; 2716 2698 ret->remove_buddy = oscar_remove_buddy;
Note: See TracChangeset
for help on using the changeset viewer.