Tkabber plugins

Check-in [85a632cce0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed rendering OTR icons in chat windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 85a632cce0111d3865990107613a243ef7cad378
User & Date: sgolovan 2016-02-04 15:12:50
Context
2016-07-10
18:50
Do not send the message if the OTR code returns an error (this prevents leaking unencrypted material due to bugs in the OTR plugin). check-in: af69e92400 user: sgolovan tags: trunk
2016-02-04
15:12
Fixed rendering OTR icons in chat windows. check-in: 85a632cce0 user: sgolovan tags: trunk
2016-02-01
19:33
Fixed typo. check-in: 8510fede9c user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.





1
2
3
4
5
6
7




2016-02-01  Sergei Golovan  <sgolovan@nes.ru>

	* ctcomp/msgs/ru.msg: Fixed typo.

2016-01-11  Sergei Golovan  <sgolovan@nes.ru>

	* debug/debug.tcl: Do not rename and replace various debug commands if
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
2016-02-04  Sergei Golovan  <sgolovan@nes.ru>

	* otr/otr.tcl: Fixed rendering OTR icons in chat windows.

2016-02-01  Sergei Golovan  <sgolovan@nes.ru>

	* ctcomp/msgs/ru.msg: Fixed typo.

2016-01-11  Sergei Golovan  <sgolovan@nes.ru>

	* debug/debug.tcl: Do not rename and replace various debug commands if

Changes to otr/otr.tcl.

162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
            ::xmpp::xml::split $xe tag xmlns attrs cdata subels

            if {$tag eq "" && $xmlns eq $ns} {
                $chatw image create end -image [::xmpp::xml::getAttr $attrs icon]
                break
            }
        }
    } else {
        # Outgoing message

        set draw 1
        foreach xe $x {
            ::xmpp::xml::split $xe tag xmlns attrs cdata subels

            # Don't draw the icon for the messages from the log







|







162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
            ::xmpp::xml::split $xe tag xmlns attrs cdata subels

            if {$tag eq "" && $xmlns eq $ns} {
                $chatw image create end -image [::xmpp::xml::getAttr $attrs icon]
                break
            }
        }
    } elseif {$from ne ""} {
        # Outgoing message

        set draw 1
        foreach xe $x {
            ::xmpp::xml::split $xe tag xmlns attrs cdata subels

            # Don't draw the icon for the messages from the log