Tkabber plugins

Check-in [1b27e8c663]
Login

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

Overview
Comment:Adjusted priority for the icon drawing procedure.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1b27e8c6634caebb9e6f8e88524d110c48e200a8
User & Date: sgolovan 2016-01-02 13:04:57
Context
2016-01-02
13:10
Fixed a small bug in returning "can't decrypt" message. Added -discardcommand and -resendcommand options to the otr::new procedure. They allow the caling application to replace built-in storing, discarding and resending routines. check-in: df5f8fe66e user: sgolovan tags: trunk
13:04
Adjusted priority for the icon drawing procedure. check-in: 1b27e8c663 user: sgolovan tags: trunk
2015-12-27
13:51
Display more appropriate error messages in case of received OTR request but without any OTR key configured. Updated Russian and Ukrainian translations. check-in: cdee71ca04 user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7





2015-12-27  Sergei Golovan  <sgolovan@nes.ru>

	* otr/otr.tcl: Display more appropriate error messages in case of
	  received OTR request but without any OTR key configured.

	* otr/msgs/ru.msg, otr/msgs/uk.msg: Updated Russian and Ukrainian
	  translations.
>
>
>
>
>







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

	* receipts/receipts.tcl: Adjusted priority for the icon drawing
	  procedure.

2015-12-27  Sergei Golovan  <sgolovan@nes.ru>

	* otr/otr.tcl: Display more appropriate error messages in case of
	  received OTR request but without any OTR key configured.

	* otr/msgs/ru.msg, otr/msgs/uk.msg: Updated Russian and Ukrainian
	  translations.

Changes to receipts/receipts.tcl.

59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
    }

    hook::add process_message_hook \
              [namespace current]::process_message
    hook::add chat_send_message_xlist_hook \
              [namespace current]::attach_confirmation_request
    hook::add draw_message_hook \
              [namespace current]::add_receipt_icon 5

    disco::register_feature $::NS(receipts)
}

proc receipts::unload {} {
    disco::register_feature $::NS(receipts)

    foreach item {confirmed unconfirmed} {
        image delete photo receipts/$item
    }

    hook::remove process_message_hook \
                 [namespace current]::process_message
    hook::remove chat_send_message_xlist_hook \
                 [namespace current]::attach_confirmation_request
    hook::remove draw_message_hook \
                 [namespace current]::add_receipt_icon 5

    unset ::NS(receipts)
}

# Receipts are only sent when all these conditions hold:
# * They aren't disabled via Customize options.
# * Receipt request is attached to a groupchat private







|
















|







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
    }

    hook::add process_message_hook \
              [namespace current]::process_message
    hook::add chat_send_message_xlist_hook \
              [namespace current]::attach_confirmation_request
    hook::add draw_message_hook \
              [namespace current]::add_receipt_icon 7

    disco::register_feature $::NS(receipts)
}

proc receipts::unload {} {
    disco::register_feature $::NS(receipts)

    foreach item {confirmed unconfirmed} {
        image delete photo receipts/$item
    }

    hook::remove process_message_hook \
                 [namespace current]::process_message
    hook::remove chat_send_message_xlist_hook \
                 [namespace current]::attach_confirmation_request
    hook::remove draw_message_hook \
                 [namespace current]::add_receipt_icon 7

    unset ::NS(receipts)
}

# Receipts are only sent when all these conditions hold:
# * They aren't disabled via Customize options.
# * Receipt request is attached to a groupchat private