[Tkabber] roster bug: "/" in JID

Mykhal tkabber@jabber.ru
Fri, 10 Jan 2003 20:35:10 +0100


After adding someone@somewhere/resource, and then e.g. changing
displaying offline users and back, the roster goes mad, showing error
code:

can't read "roster(subsc,test@somewhere)": no such element in array

details:
--------
can't read "roster(subsc,test@somewhere)": no such element in array
can't read "roster(subsc,test@somewhere)": no such element in array
    while executing
"cequal $roster(subsc,$user_without_resource) from"
    (procedure "get_user_icon" line 9)
    invoked from within
"get_user_icon $jid"
    ("user" arm line 2)
    invoked from within
"switch -- $category {
	"" {
	    return [get_user_icon $jid]
	}
	user {
	    return [get_user_icon $jid]
	}
	conference {
	    set show [get_jid_statu..."
    (procedure "get_jid_icon" line 11)
    invoked from within
"get_jid_icon $jid"
    (procedure "redraw" line 113)
    invoked from within
"redraw"
    (procedure "changed_only_online" line 11)
    invoked from within
"changed_only_online"
    (procedure "roster::switch_only_online" line 4)
    invoked from within
"roster::switch_only_online"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .mainframe.topf.tb0.bbox.b3"
    (command bound to event)
---------

I know adding such contact is nonsense, but I met this problem after
dragging conference user from services window to roster, which is also
nonsense.

Michal
jabber://mykhal-at-njs-dot-netlab-dot-cz

--------------------
NOVINKA na Centrum.cz Auto! Největší autokatalog na českém internetu - sestavte si své auto snů! http://auto.centrum.cz/katalog