Commit Graph

26 Commits

Author SHA1 Message Date
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
stryan 027d970c11 store channelid in state so other functions can use it 2021-02-09 17:46:24 -05:00
stryan 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
stryan 4717bdec27 on mumble connect failure disconnect from discord too 2021-01-26 10:33:47 -05:00
stryan 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
stryan 2e83d6d515 lint cleanup, remove code duplication 2021-01-08 14:38:21 -05:00
stryan 2f4bf65d20 add mutexs to prevent data races, re-organize a bit 2021-01-08 11:36:22 -05:00
stryan 301bc1b3d1 remove global conf and state variables 2021-01-08 11:35:47 -05:00
stryan 83712bfe15 mumble event listeners use non-global state 2021-01-08 11:32:27 -05:00
stryan 8e2fe4f3b7 actually add users in initial run 2021-01-05 21:58:38 -05:00
stryan 4ae6176991 use gumble.Client.Do for sending messages thread safely 2021-01-05 19:08:17 -05:00
stryan 1e8a0a4165 count how many users are actually in channel 2021-01-05 19:00:28 -05:00
stryan c469a65ed6 begin switching to mumble event listeners 2021-01-05 13:16:03 -05:00
stryan b7b1065abb use mumble client more,finally get user count right 2021-01-05 11:41:33 -05:00
stryan b782efdf04 keep track of discord users in set 2021-01-03 20:48:34 -05:00
stryan f63b9d005c send message in mumble when user joins in discord 2021-01-03 20:20:03 -05:00
stryan ba29c23cae remove legacy ping/status seperation 2021-01-03 19:49:12 -05:00
stryan 665d42fc51 close channels so that everything dies properly 2021-01-03 16:19:49 -05:00
stryan 77cf328955 add auto_mode flag 2021-01-03 15:45:12 -05:00
stryan 4b8e6eea55 use user counting, add discord buffer debuf, intial auto mode 2021-01-03 15:32:59 -05:00