[Tkabber-dev] r701 - in trunk/tkabber: . plugins/chat

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Fri Aug 18 00:22:46 MSD 2006


Author: sergei
Date: 2006-08-18 00:22:39 +0400 (Fri, 18 Aug 2006)
New Revision: 701

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/chat/info_commands.tcl
Log:
	* plugins/chat/info_commands.tcl: Bugfix. VCard is requested
	  from bare JID (works when chat partner goes offline)


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2006-08-17 16:11:55 UTC (rev 700)
+++ trunk/tkabber/ChangeLog	2006-08-17 20:22:39 UTC (rev 701)
@@ -13,10 +13,13 @@
 	  useful for new search feature
 
 	* plugins/chat/logger.tcl: Search in chatlog window is moved to
-	  plugins/search directory.
+	  plugins/search directory
 
-	* tkabber.tcl: Load plugins in plugins/search subdir.
+	* tkabber.tcl: Load plugins in plugins/search subdir
 
+	* plugins/chat/info_commands.tcl: Bugfix. VCard is requested
+	  from bare JID (works when chat partner goes offline)
+
 2006-08-16  Sergei Golovan  <sgolovan at nes.ru>
 
 	* datagathering.tcl: Fixed empty form processing

Modified: trunk/tkabber/plugins/chat/info_commands.tcl
===================================================================
--- trunk/tkabber/plugins/chat/info_commands.tcl	2006-08-17 16:11:55 UTC (rev 700)
+++ trunk/tkabber/plugins/chat/info_commands.tcl	2006-08-17 20:22:39 UTC (rev 701)
@@ -76,8 +76,10 @@
     set vcard_jids {}
     if {[cequal $name ""]} {
 	set jids [list [chat::get_jid $chatid]]
+	set vcard_jids [list [node_and_server_from_jid [chat::get_jid $chatid]]]
     } elseif {[cequal $type groupchat]} {
 	set jids [list "[chat::get_jid $chatid]/$name"]
+	set vcard_jids $jids
     }
     if {[cequal $jids {}]} {
 	lassign [roster_lookup $connid $name] jids vcard_jids



More information about the Tkabber-dev mailing list