Merge pull request #468 from BeaudanBrown/super-hotfix

Don't look
pull/473/head
Beaudan Campbell-Brown 6 years ago committed by GitHub
commit 14f5fc53be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -290,7 +290,7 @@ class LokiPublicChannelAPI {
// get moderator status
async refreshModStatus() {
const res = this.serverRequest('loki/v1/user_info');
const res = await this.serverRequest('loki/v1/user_info');
// if no problems and we have data
if (!res.err && res.response && res.response.data) {
this.modStatus = res.response.data.moderator_status;

Loading…
Cancel
Save