Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider cad264ce rédigé par Sorunome's avatar Sorunome
Parcourir les fichiers

Merge branch 'soru/emojifix' into develop

parents f1a71368 777f4ed5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
/*
Copyright 2017, 2018 matrix-appservice-discord
Copyright 2017 - 2019 matrix-appservice-discord
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
......@@ -42,7 +42,7 @@ export class DbEmoji implements IDbData {
id: params.emoji_id,
mxc: params.mxc_url,
});
this.Result = row !== undefined;
this.Result = Boolean(row); // check if row exists
if (this.Result) {
this.EmojiId = row.emoji_id as string;
this.Name = row.name as string;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter