Changeset 1d3e925
- Timestamp:
- Jun 27, 2003, 5:22:39 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 5bb6c21
- Parents:
- f562355
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rf562355 r1d3e925 1798 1798 1799 1799 /* Special case a personal reply to a webzephyr user on a class */ 1800 if ((type==1) && !strcasecmp(owl_message_get_opcode(m), "webzephyr")) {1801 class= "webzephyr";1800 if ((type==1) && !strcasecmp(owl_message_get_opcode(m), OWL_WEBZEPHYR_OPCODE)) { 1801 class=OWL_WEBZEPHYR_CLASS; 1802 1802 inst=owl_message_get_sender(m); 1803 1803 to=OWL_WEBZEPHYR_PRINCIPAL; 1804 } else if (!strcasecmp(owl_message_get_class(m), "webzephyr") && 1805 owl_message_is_loginout(m)) { 1804 } else if (!strcasecmp(owl_message_get_class(m), OWL_WEBZEPHYR_CLASS) && owl_message_is_loginout(m)) { 1806 1805 /* Special case LOGIN/LOGOUT notifications on class "webzephyr" */ 1807 class= "webzephyr";1806 class=OWL_WEBZEPHYR_CLASS; 1808 1807 inst=owl_message_get_instance(m); 1809 1808 to=OWL_WEBZEPHYR_PRINCIPAL; -
message.c
ref56a67 r1d3e925 658 658 659 659 /* Set the "isloginout" attribute if it's a login message */ 660 if (!strcasecmp(n->z_class, "login") ) {660 if (!strcasecmp(n->z_class, "login") || !strcasecmp(n->z_class, OWL_WEBZEPHYR_CLASS)) { 661 661 if (!strcasecmp(n->z_opcode, "user_login")) { 662 662 owl_message_set_islogin(m); -
owl.h
re7cc1c3 r1d3e925 124 124 125 125 #define OWL_WEBZEPHYR_PRINCIPAL "daemon.webzephyr" 126 #define OWL_WEBZEPHYR_CLASS "webzephyr" 127 #define OWL_WEBZEPHYR_OPCODE "webzephyr" 126 128 127 129 #if defined(HAVE_DES_STRING_TO_KEY) && defined(HAVE_DES_KEY_SCHED) && defined(HAVE_DES_ECB_ENCRYPT)
Note: See TracChangeset
for help on using the changeset viewer.