Changeset e7cc1c3 for functions.c
- Timestamp:
- Jun 27, 2003, 1:03:16 PM (22 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:
- f562355
- Parents:
- b278973
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rce7db4d re7cc1c3 1744 1744 1745 1745 1746 /* if type = 0 then normal reply. 1747 * if type = 1 then it's a reply to sender 1748 * if enter = 0 then allow the command to be edited 1749 * if enter = 1 then don't wait for editing 1750 */ 1746 1751 void owl_function_reply(int type, int enter) 1747 1752 { 1748 /* if type = 0 then normal reply.1749 * if type = 1 then it's a reply to sender1750 * if enter = 0 then allow the command to be edited1751 * if enter = 1 then don't wait for editing1752 */1753 1753 char *buff, *oldbuff; 1754 1754 owl_message *m; … … 1790 1790 } 1791 1791 1792 /* if it's a zephyr we sent, send it out the same way again */ 1792 1793 if (owl_message_is_direction_out(m)) { 1793 1794 owl_function_zwrite_setup(owl_message_get_zwriteline(m)); 1794 1795 owl_global_set_buffercommand(&g, owl_message_get_zwriteline(m)); 1795 1796 return; 1797 } 1798 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"; 1802 inst=owl_message_get_sender(m); 1803 to=OWL_WEBZEPHYR_PRINCIPAL; 1804 } 1805 1806 /* Special case LOGIN/LOGOUT notifications on class "webzephyr" */ 1807 if (!strcasecmp(owl_message_get_class(m), "webzephyr") && 1808 owl_message_is_loginout(m)) { 1809 class="webzephyr"; 1810 inst=owl_message_get_instance(m); 1811 to=OWL_WEBZEPHYR_PRINCIPAL; 1796 1812 } 1797 1813
Note: See TracChangeset
for help on using the changeset viewer.