Changeset 232
- Timestamp:
- 07-03-2008 17:47:03 (5 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
core/lfp_api.cpp (modified) (1 diff)
-
lilypad/Sources/LPChatController.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lfp_api.cpp
r227 r232 3228 3228 m.setTo(chat->jid); 3229 3229 m.setType("chat"); 3230 if (typing) 3231 m.addEvent(ComposingEvent); 3230 m.addEvent(typing ? ComposingEvent : CancelEvent); 3232 3231 m.setEventId(chat->lastReceivedMessageID); 3233 3232 chat->entry->account->client()->sendMessage(m); -
trunk/lilypad/Sources/LPChatController.m
r229 r232 2049 2049 [[[aNotification object] drawers] makeObjectsPerformSelector:@selector(close)]; 2050 2050 2051 // Cancel the pending chat typing notification if there was some text already entered but not yet sent 2052 if (m_lastInputTextFieldStringLength > 0) 2053 [m_chat setUserIsTyping:NO]; 2051 2054 [m_chat endChat]; 2052 2055 [m_chat setDelegate:nil];