Skip to content
Snippets Groups Projects
Unverified Commit 5b2beb81 authored by Éloïs's avatar Éloïs
Browse files

[fix] bug freeRooms become undefined:undefined

parent 5edd6636
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,7 @@ module.exports = { ...@@ -160,7 +160,7 @@ module.exports = {
let posPubkey = 3; let posPubkey = 3;
// Gestion des différents formats // Gestion des différents formats
if (head.messageV2 && head.messageV2.match(/:2:/)) { if (head.messageV2 && head.messageV2.match(/:2:/)) {
const headV2Infos = head.message.split(':') const headV2Infos = head.messageV2.split(':')
head.freeRooms = headV2Infos[9] + ":" + headV2Infos[10] head.freeRooms = headV2Infos[9] + ":" + headV2Infos[10]
} }
else if (head.message.match(/:1:/)) { else if (head.message.match(/:1:/)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment