diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-03 15:16:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-03 15:16:37 +0000 |
commit | 78f8991554dd09d2e7f7efcdd9dcacf18f75f428 (patch) | |
tree | ef50761216cd51b0da6cb17b3ca1199de10fb6cf /protocols/JabberG/jabber_chat.cpp | |
parent | cfe2d8b10186a7ed42ba0dffd75528a38bee1435 (diff) |
old svn info removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@735 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/jabber_chat.cpp')
-rw-r--r-- | protocols/JabberG/jabber_chat.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/protocols/JabberG/jabber_chat.cpp b/protocols/JabberG/jabber_chat.cpp index ac17a992b1..60dc011faa 100644 --- a/protocols/JabberG/jabber_chat.cpp +++ b/protocols/JabberG/jabber_chat.cpp @@ -2,7 +2,7 @@ Jabber Protocol Plugin for Miranda IM
Copyright ( C ) 2002-04 Santithorn Bunchua
-Copyright ( C ) 2005-11 George Hazan
+Copyright ( C ) 2005-12 George Hazan
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -18,10 +18,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-Revision : $Revision: 13898 $
-Last change on : $Date: 2011-11-02 05:38:43 +0200 (Ср, 02 ноя 2011) $
-Last change by : $Author: borkra $
-
*/
#include "jabber.h"
@@ -376,6 +372,11 @@ void CJabberProto::GcQuit( JABBER_LIST_ITEM* item, int code, HXML reason ) if ( reason != NULL && xmlGetText( reason ) != NULL )
szReason = xmlGetText( reason );
+ if (m_options.GcLogChatHistory) {
+ HANDLE hContact = ChatRoomHContactFromJID(item->jid);
+ JSetDword(hContact, "muc_lastevent", time(NULL));
+ }
+
GCDEST gcd = { m_szModuleName, NULL, GC_EVENT_CONTROL };
gcd.ptszID = item->jid;
GCEVENT gce = {0};
@@ -681,7 +682,8 @@ int CJabberProto::JabberGcMenuHook( WPARAM, LPARAM lParam ) sttSetupGcMenuItem(gcmi, 0, TRUE);
gcmi->Item[2].uType = 0;
sttShowGcMenuItems(gcmi, sttRJidItems, 0);
- } }
+ }
+ }
return 0;
}
|