Tkabber

Check-in [3cabddedf8]
Login

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

Overview
Comment:Added a dirty hack which makes Tkabber ignore the MUC invitations to the rooms where the user is an occupant already.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3cabddedf8bb530a09fc86b5ddf5148ff91d943f
User & Date: sgolovan 2016-01-25 14:25:43
Context
2016-01-25
15:07
Fixed typo in loginconf(useboshkeys) option definition. check-in: 4c3447657b user: sgolovan tags: trunk
14:25
Added a dirty hack which makes Tkabber ignore the MUC invitations to the rooms where the user is an occupant already. check-in: 3cabddedf8 user: sgolovan tags: trunk
11:35
Don't show dialog if choices list is empty. check-in: d568a96941 user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.

1
2
3
4
5
6
7



8
9
10
11
12
13
14
2016-01-25  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/roster/rosterx.tcl: Fixed the attached users dialogs clash.

	* plugins/roster/rosterx.tcl: Show only users missing in roster when
	  displaying add users dialog.




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

	* ifacetk/iface.tcl, tk/bwidget.tcl: Fixed sending the text status
	  selected in the corresponding combobox.

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








>
>
>







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

	* plugins/roster/rosterx.tcl: Fixed the attached users dialogs clash.

	* plugins/roster/rosterx.tcl: Show only users missing in roster when
	  displaying add users dialog.

	* muc.tcl: Added a dirty hack which makes Tkabber ignore the MUC
	  invitations to the rooms where the user is an occupant already.

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

	* ifacetk/iface.tcl, tk/bwidget.tcl: Fixed sending the text status
	  selected in the corresponding combobox.

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

Changes to muc.tcl.

1021
1022
1023
1024
1025
1026
1027

1028
1029
1030
1031





1032

1033
1034
1035
1036
1037





1038
1039
1040
1041
1042
1043
1044
                    set muc_group $from
                    set muc_password $password
                }
            }
    }

    if {[info exists muc_group] && $muc_group != ""} {

        process_x_conference $f $xlib $muc_group $muc_password $row
        incr row
        set body $muc_body
        return





    } elseif {[info exists xconference_group] && $xconference_group != ""} {

        process_x_conference $f $xlib $xconference_group \
            $xconference_password $row
        incr row
        set body $xconference_body
        return





    }

    return
}

hook::add message_process_x_hook muc::process_invitation








>
|
|
|
|
>
>
>
>
>

>
|
|
|
|
|
>
>
>
>
>







1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
                    set muc_group $from
                    set muc_password $password
                }
            }
    }

    if {[info exists muc_group] && $muc_group != ""} {
        if {[status [::chat::chatid $xlib $muc_group]] eq "disconnected"} {
            process_x_conference $f $xlib $muc_group $muc_password $row
            incr row
            set body $muc_body
            return
        } else {
            # HACK: ignore the invitation if we are already in the room
            set body ""
            return
        }
    } elseif {[info exists xconference_group] && $xconference_group != ""} {
        if {[status [::chat::chatid $xlib $xconference_group]] eq "disconnected"} {
            process_x_conference $f $xlib $xconference_group \
                $xconference_password $row
            incr row
            set body $xconference_body
            return
        } else {
            # HACK: ignore the invitation if we are already in the room
            set body ""
            return
        }
    }

    return
}

hook::add message_process_x_hook muc::process_invitation