Fix the reaction content type and the fixable lint sites. [skip build]
This commit is contained in:
@@ -113,7 +113,7 @@ async function getStatus(matrixClient: MatrixClient) {
|
||||
/**
|
||||
* Toggle microphone mute
|
||||
*/
|
||||
async function toggleMute(matrixClient: MatrixClient) {
|
||||
async function toggleMute() {
|
||||
const callService = getCallService();
|
||||
|
||||
if (!callService) {
|
||||
@@ -173,7 +173,7 @@ async function setMute(matrixClient: MatrixClient, muted: boolean) {
|
||||
/**
|
||||
* Toggle deafen (mute speakers)
|
||||
*/
|
||||
async function toggleDeafen(matrixClient: MatrixClient) {
|
||||
async function toggleDeafen() {
|
||||
const callService = getCallService();
|
||||
|
||||
if (!callService) {
|
||||
@@ -590,7 +590,7 @@ export function initPaarrotAPI(matrixClient: MatrixClient) {
|
||||
break;
|
||||
|
||||
case 'toggle-mute':
|
||||
result = await toggleMute(matrixClient);
|
||||
result = await toggleMute();
|
||||
break;
|
||||
|
||||
case 'set-mute':
|
||||
@@ -598,7 +598,7 @@ export function initPaarrotAPI(matrixClient: MatrixClient) {
|
||||
break;
|
||||
|
||||
case 'toggle-deafen':
|
||||
result = await toggleDeafen(matrixClient);
|
||||
result = await toggleDeafen();
|
||||
break;
|
||||
|
||||
case 'set-deafen':
|
||||
|
||||
Reference in New Issue
Block a user