Commit Graph

27 Commits

Author SHA1 Message Date
Tyler Stiene
480fa533a2 fix race data related to reading bridge state 2021-04-07 01:24:17 -04:00
Tyler Stiene
177553f3a4 address static check suggestions 2021-04-06 22:34:38 -04:00
2xsaiko
3d9f11ee56 Cleanup 2021-03-05 20:15:17 +01:00
2xsaiko
80d6b9f8e6 Apparently this uses tabs 2021-03-05 20:12:34 +01:00
2xsaiko
83e33b85bc Add option to specify client certificate 2021-02-25 22:22:06 +01:00
027d970c11 store channelid in state so other functions can use it 2021-02-09 17:46:24 -05:00
8e5bb4b479 announce auto status change, respect what voice channel used for manual link 2021-02-09 17:46:24 -05:00
Tyler Stiene
a58a7197a9 clean up bridge terminate 2021-02-01 16:03:38 -05:00
4717bdec27 on mumble connect failure disconnect from discord too 2021-01-26 10:33:47 -05:00
577c5e702e fix auto mode, use mumble ping, die properly 2021-01-19 13:48:51 -05:00
Tyler Stiene
3ef9fc40bf refactor
discord dm
disable text messages for discord and mumble with option
list users connected to discord on connection to mumble
2021-01-19 01:06:08 -05:00
Tyler Stiene
3b6d3ba5bd change default mode to constant 2021-01-16 14:04:52 -05:00
2e83d6d515 lint cleanup, remove code duplication 2021-01-08 14:38:21 -05:00
2f4bf65d20 add mutexs to prevent data races, re-organize a bit 2021-01-08 11:36:22 -05:00
301bc1b3d1 remove global conf and state variables 2021-01-08 11:35:47 -05:00
83712bfe15 mumble event listeners use non-global state 2021-01-08 11:32:27 -05:00
8e2fe4f3b7 actually add users in initial run 2021-01-05 21:58:38 -05:00
4ae6176991 use gumble.Client.Do for sending messages thread safely 2021-01-05 19:08:17 -05:00
1e8a0a4165 count how many users are actually in channel 2021-01-05 19:00:28 -05:00
c469a65ed6 begin switching to mumble event listeners 2021-01-05 13:16:03 -05:00
b7b1065abb use mumble client more,finally get user count right 2021-01-05 11:41:33 -05:00
b782efdf04 keep track of discord users in set 2021-01-03 20:48:34 -05:00
f63b9d005c send message in mumble when user joins in discord 2021-01-03 20:20:03 -05:00
ba29c23cae remove legacy ping/status seperation 2021-01-03 19:49:12 -05:00
665d42fc51 close channels so that everything dies properly 2021-01-03 16:19:49 -05:00
77cf328955 add auto_mode flag 2021-01-03 15:45:12 -05:00
4b8e6eea55 use user counting, add discord buffer debuf, intial auto mode 2021-01-03 15:32:59 -05:00