Tkabber

Check-in [538a14498e]
Login

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

Overview
Comment:Don't draw the signed/encrypted message icon for outgoing messages in groupchats because only drawing incoming messages makes sense there.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 538a14498e844c9611ec23b3bcdc9a9184e5af0a
User & Date: sgolovan 2016-02-01 13:01:33
Context
2016-02-01
15:50
Don't panic if the register window is already destroyed when registration answer is received. check-in: 83d485a207 user: sgolovan tags: trunk
13:01
Don't draw the signed/encrypted message icon for outgoing messages in groupchats because only drawing incoming messages makes sense there. check-in: 538a14498e user: sgolovan tags: trunk
2016-01-26
16:06
Fixed tab titles for chats with groupchat occupants. They were broken when search for conference roster items was fixed. check-in: 7cbebd0400 user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.







1
2
3
4
5
6
7






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

	* chats.tcl: Fixed tab titles for chats with groupchat occupants. They
	  were broken when search for conference roster items was fixed.

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

>
>
>
>
>
>







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

	* plugins/general/gpgme.tcl: Don't draw the signed/encrypted message
	  icon for outgoing messages in groupchats because only drawing
	  incoming messages makes sense there.

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

	* chats.tcl: Fixed tab titles for chats with groupchat occupants. They
	  were broken when search for conference roster items was fixed.

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

Changes to plugins/general/gpgme.tcl.

1413
1414
1415
1416
1417
1418
1419




1420

1421
1422
1423
1424
1425
1426
1427

            return
        }

        if {$cdata ne ""} {
            lappend x [::xmpp::xml::create x -xmlns $NS($tag) -cdata $cdata]





            hook::unset_flag rewrite_outgoing_message_hook $tag


            if {$tag eq "encrypted"} {
                if {$type eq "groupchat"} {
                    set newbody "This message is encrypted."
                } else {
                    set lang [get_jid_presence_info lang $xlib $to]
                    set newbody [::trans::trans $lang "This message is encrypted."]







>
>
>
>
|
>







1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432

            return
        }

        if {$cdata ne ""} {
            lappend x [::xmpp::xml::create x -xmlns $NS($tag) -cdata $cdata]

            if {$type ne "groupchat"} {
                # Groupchat messages are shown only when come back, so don't
                # setup drawing the signed/encrypted icons for them

                hook::unset_flag rewrite_outgoing_message_hook $tag
            }

            if {$tag eq "encrypted"} {
                if {$type eq "groupchat"} {
                    set newbody "This message is encrypted."
                } else {
                    set lang [get_jid_presence_info lang $xlib $to]
                    set newbody [::trans::trans $lang "This message is encrypted."]