Appease the linter
This commit is contained in:
parent
ef8c9246aa
commit
c389540522
2 changed files with 31 additions and 31 deletions
|
@ -39,7 +39,7 @@ export function makeGroupPermalink(groupId) {
|
|||
|
||||
export function encodeServerCandidates(candidates) {
|
||||
if (!candidates) return '';
|
||||
return `via=${candidates.map(c => encodeURIComponent(c)).join("&via=")}`
|
||||
return `via=${candidates.map(c => encodeURIComponent(c)).join("&via=")}`;
|
||||
}
|
||||
|
||||
export function pickServerCandidates(roomId) {
|
||||
|
@ -85,7 +85,7 @@ export function pickServerCandidates(roomId) {
|
|||
// the list and magically have the link work.
|
||||
|
||||
const populationMap: {[server:string]:number} = {};
|
||||
const highestPlUser = {userId:null, powerLevel: 0, serverName: null};
|
||||
const highestPlUser = {userId: null, powerLevel: 0, serverName: null};
|
||||
|
||||
for (const member of room.getJoinedMembers()) {
|
||||
const serverName = member.userId.split(":").splice(1).join(":");
|
||||
|
@ -114,4 +114,4 @@ export function pickServerCandidates(roomId) {
|
|||
}
|
||||
|
||||
return candidates;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue