[Tkabber-dev] r1909 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Feb 1 21:42:12 MSK 2010


Author: sergei
Date: 2010-02-01 21:42:12 +0300 (Mon, 01 Feb 2010)
New Revision: 1909

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/muc.tcl
Log:
	* muc.tcl: Adapted to a small cjange in xmpp::jid package.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2010-02-01 16:59:20 UTC (rev 1908)
+++ trunk/tkabber/ChangeLog	2010-02-01 18:42:12 UTC (rev 1909)
@@ -4,6 +4,8 @@
 
 	* chats.tcl: Fixed reporting presence change for opened chat windows.
 
+	* muc.tcl: Adapted to a small cjange in xmpp::jid package.
+
 2010-01-31  Sergei Golovan  <sgolovan at nes.ru>
 
 	* chats.tcl, muc.tcl, plugins/chat/muc_ignore.tcl: Changed arguments

Modified: trunk/tkabber/muc.tcl
===================================================================
--- trunk/tkabber/muc.tcl	2010-02-01 16:59:20 UTC (rev 1908)
+++ trunk/tkabber/muc.tcl	2010-02-01 18:42:12 UTC (rev 1909)
@@ -325,7 +325,7 @@
 proc muc::get_real_jid {xlib jid} {
     variable tokens
 
-    set group [::xmpp::jid::bareJid $jid]
+    set group [::xmpp::jid::removeResource $jid]
     set nick [::xmpp::jid::resource $jid]
     set chatid [chat::chatid $xlib $group]
 
@@ -339,7 +339,7 @@
 proc muc::get_affiliation {xlib jid} {
     variable tokens
 
-    set group [::xmpp::jid::bareJid $jid]
+    set group [::xmpp::jid::removeResource $jid]
     set nick [::xmpp::jid::resource $jid]
     set chatid [chat::chatid $xlib $group]
 
@@ -353,7 +353,7 @@
 proc muc::get_role {xlib jid} {
     variable tokens
 
-    set group [::xmpp::jid::bareJid $jid]
+    set group [::xmpp::jid::removeResource $jid]
     set nick [::xmpp::jid::resource $jid]
     set chatid [chat::chatid $xlib $group]
 



More information about the Tkabber-dev mailing list